5.42. nvmlMemory_t Struct Reference
[Device Structs]
Memory allocation information for a device (v1). The total amount is equal to the sum of the amounts of free and used memory.
Public Variables
- unsigned long long free
- Unallocated device memory (in bytes).
- unsigned long long total
- Total physical device memory (in bytes).
- unsigned long long used
Variables
- unsigned long long nvmlMemory_t::free [inherited]
-
Unallocated device memory (in bytes).
- unsigned long long nvmlMemory_t::total [inherited]
-
Total physical device memory (in bytes).
- unsigned long long nvmlMemory_t::used [inherited]
-
Sum of Reserved and Allocated device memory (in bytes). Note that the driver/GPU always sets aside a small amount of memory for bookkeeping