NVML API Reference Guide (PDF) - vR550 (older) - Last updated March 12, 2024 - Send Feedback

5.34. nvmlMemory_v2_t Struct Reference

[Device Structs]

Memory allocation information for a device (v2).

Version 2 adds versioning for the struct and the amount of system-reserved memory as an output.

Public Variables

unsigned long long  free
Unallocated device memory (in bytes).
unsigned long long  reserved
Device memory (in bytes) reserved for system use (driver or firmware).
unsigned long long  total
Total physical device memory (in bytes).
unsigned long long  used
Allocated device memory (in bytes).
unsigned int  version
Structure format version (must be 2).

Variables

unsigned long long nvmlMemory_v2_t::free [inherited]

Unallocated device memory (in bytes).

unsigned long long nvmlMemory_v2_t::reserved [inherited]

Device memory (in bytes) reserved for system use (driver or firmware).

unsigned long long nvmlMemory_v2_t::total [inherited]

Total physical device memory (in bytes).

unsigned long long nvmlMemory_v2_t::used [inherited]

Allocated device memory (in bytes).

unsigned int nvmlMemory_v2_t::version [inherited]

Structure format version (must be 2).


NVML API Reference Guide (PDF) - vR550 (older) - Last updated March 12, 2024 - Send Feedback