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 index,
) intptr_t#
Get MIG device handle for the given index under its parent NVML device.

:param device: Reference to the parent GPU device handle.
:type device: intptr_t
:param index: Index of the MIG device.
:type index: unsigned int

:returns: Reference to the MIG device handle.
:rtype: intptr_t

.. seealso:: `nvmlDeviceGetMigDeviceHandleByIndex`