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.
- Parameters:
device (intptr_t) – The identifier of the target device.
mode (unsigned int) – The mode to be set,
NVML_DEVICE_MIG_DISABLEorNVML_DEVICE_MIG_ENABLE.
- Returns:
The activationStatus status.
- Return type:
See also
nvmlDeviceSetMigMode