cuda.bindings.nvml.device_set_gpu_operation_mode#

cuda.bindings.nvml.device_set_gpu_operation_mode(intptr_t device, int mode)#

Sets new GOM. See nvmlGpuOperationMode_t for details.

For GK110 M-class and X-class Tesla ™️ products from the Kepler family. Modes NVML_GOM_LOW_DP and NVML_GOM_ALL_ON are supported on fully supported GeForce products. Not supported on Quadro ®️ and Tesla ™️ C-class products. Requires root/admin permissions. Changing GOMs requires a reboot. The reboot requirement might be removed in the future. Compute only GOMs don’t support graphics acceleration. Under windows switching to these GOMs when pending driver model is WDDM is not supported. See nvmlDeviceSetDriverModel.

Parameters:
  • device (intptr_t) – The identifier of the target device.

  • mode (GpuOperationMode) – Target GOM.

See also

nvmlDeviceSetGpuOperationMode