cuda.bindings.nvml.device_get_mig_device_handle_by_index#

cuda.bindings.nvml.device_get_mig_device_handle_by_index(
intptr_t device,
unsigned int ind_ex,
) intptr_t#

Get MIG device handle for the given ind_ex under its parent NVML device.

Parameters:
  • device (intptr_t) – Reference to the parent GPU device handle.

  • ind_ex (unsigned int) – Index of the MIG device.

Returns:

Reference to the MIG device handle.

Return type:

intptr_t

See also

nvmlDeviceGetMigDeviceHandleByIndex