cuda.bindings.nvml.device_get_gpu_instances#

cuda.bindings.nvml.device_get_gpu_instances(intptr_t device, unsigned int profile_id)#

Get GPU instances for given profile ID.

Parameters:
  • device (Device) – The identifier of the target device.

  • profile_id (unsigned int) – The GPU instance profile ID. See device_get_gpu_instance_profile_info().

Returns:

An array of GPU instance handles.

Return type:

array