cuda.bindings.nvml.device_get_gpu_instance_id#
- cuda.bindings.nvml.device_get_gpu_instance_id(intptr_t device) unsigned int#
Get GPU instance ID for the given MIG device handle.
GPU instance IDs are unique per device and remain valid until the GPU instance is destroyed. For Ampere ™️ or newer fully supported devices. Supported on Linux only.
- Parameters:
device (intptr_t) – Target MIG device handle.
- Returns:
GPU instance ID.
- Return type:
unsigned int
See also
nvmlDeviceGetGpuInstanceId