cuda.bindings.nvml.device_set_compute_mode#

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

Set the compute mode for the device.

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

  • mode (ComputeMode) – The target compute mode.

See also

nvmlDeviceSetComputeMode