cuda.bindings.nvml.device_set_temperature_threshold#

cuda.bindings.nvml.device_set_temperature_threshold(
intptr_t device,
int threshold_type,
int temp,
)#
Sets the temperature threshold for the GPU with the specified threshold type in degrees C.

:param device: The identifier of the target device.
:type device: intptr_t
:param threshold_type: The type of threshold value to be set.
:type threshold_type: TemperatureThresholds
:param temp: The value to be set.
:type temp: int

.. seealso:: `nvmlDeviceSetTemperatureThreshold`