cuda.bindings.nvml.device_get_memory_info_v2#
- cuda.bindings.nvml.device_get_memory_info_v2(intptr_t device)#
Retrieves the amount of used, free, reserved and total memory available on the device, in bytes. nvmlDeviceGetMemoryInfo_v2 accounts separately for reserved memory and includes it in the used memory amount.
- Parameters:
device (intptr_t) – The identifier of the target device.
- Returns:
Reference in which to return the memory information.
- Return type:
nvmlMemory_v2_t
See also
nvmlDeviceGetMemoryInfo_v2