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.

:param device: The identifier of the target device.
:type device: intptr_t
:param mode: The target compute mode.
:type mode: ComputeMode

.. seealso:: `nvmlDeviceSetComputeMode`