cuda.bindings.nvml.device_get_vgpu_utilization#

cuda.bindings.nvml.device_get_vgpu_utilization(
intptr_t device,
unsigned long long last_seen_time_stamp,
) tuple#

Retrieves current utilization for vGPUs on a physical GPU (device).

Parameters:
  • device (intptr_t) – The identifier for the target device.

  • last_seen_time_stamp (unsigned long long) – Return only samples with timestamp greater than last_seen_time_stamp.

Returns:

  • int: Pointer to caller-supplied buffer to hold the type of

    returned sample values.

  • nvmlVgpuInstanceUtilizationSample_t: Pointer to caller-

    supplied buffer in which vGPU utilization samples are returned.

Return type:

A 2-tuple containing

See also

nvmlDeviceGetVgpuUtilization