nvmlMemory_t#

struct nvmlMemory_t#

Memory allocation information for a device (v1).

The total amount is equal to the sum of the amounts of free and used memory.

Public Members

unsigned long long total#

Total physical device memory (in bytes)

unsigned long long free#

Unallocated device memory (in bytes)

unsigned long long used#

Sum of Reserved and Allocated device memory (in bytes). Note that the driver/GPU always sets aside a small amount of memory for bookkeeping.