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 (intptr_t) – The identifier of the target device.

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

Returns:

Returns pre-exiting GPU instances, the buffer must

be large enough to accommodate the instances supported by the profile. See nvmlDeviceGetGpuInstanceProfileInfo.

Return type:

intptr_t

See also

nvmlDeviceGetGpuInstances