cuda.bindings.nvml.device_set_mig_mode#
- cuda.bindings.nvml.device_set_mig_mode(intptr_t device, unsigned int mode) int#
Set MIG mode for the device. :param device: The identifier of the target device. :type device: intptr_t :param mode: The mode to be set, ``NVML_DEVICE_MIG_DISABLE`` or ``NVML_DEVICE_MIG_ENABLE``. :type mode: unsigned int :returns: The activationStatus status. :rtype: int .. seealso:: `nvmlDeviceSetMigMode`