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. :param device: The identifier of the target device. :type device: intptr_t :returns: Reference in which to return the memory information. :rtype: nvmlMemory_v2_t .. seealso:: `nvmlDeviceGetMemoryInfo_v2`