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,
Get MIG device handle for the given ind_ex under its parent NVML device. :param device: Reference to the parent GPU device handle. :type device: intptr_t :param ind_ex: Index of the MIG device. :type ind_ex: unsigned int :returns: Reference to the MIG device handle. :rtype: intptr_t .. seealso:: `nvmlDeviceGetMigDeviceHandleByIndex`