cuda.bindings.nvml.device_get_compute_mode#

cuda.bindings.nvml.device_get_compute_mode(intptr_t device) int#
Retrieves the current compute mode for the device.

:param device: The identifier of the target device.
:type device: intptr_t

:returns: Reference in which to return the current compute mode.
:rtype: int

.. seealso:: `nvmlDeviceGetComputeMode`