cuda.bindings.nvml.device_get_gpu_uptime_v1#

cuda.bindings.nvml.device_get_gpu_uptime_v1(intptr_t device)#

Retrieves the GPU uptime. The uptime denotes the number of seconds elapsed since the GPU was initialized by the driver. The uptime resets to zero on a host reboot, driver unload/reload, or a GPU reset.

For MIG device handles, the parent GPU uptime is returned.

Parameters:

device (intptr_t) – The identifier of the target device.

Returns:

Reference in which to return the GPU uptime.

Return type:

nvmlGpuUptime_v1_t

See also

nvmlDeviceGetGpuUptime_v1