heimdallr.utilities.nvidia.bindings.nvmlDeviceGetMemoryInfo

heimdallr.utilities.nvidia.bindings.nvmlDeviceGetMemoryInfo(handle)[source]

Retrieves memory object.

Return object includes the amount of used, free and total memory available on the device, in bytes.

Parameters

handle – The identifier of the target device

Returns

The return value. An nvmlMemory_t object

Return type

memory