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.

:param device: The identifier of the target device.
:type device: intptr_t
:param mode: Target GOM.
:type mode: GpuOperationMode

.. seealso:: `nvmlDeviceSetGpuOperationMode`