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.

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

  • threshold_type (TemperatureThresholds) – The type of threshold value to be set.

  • temp (int) – The value to be set.

See also

nvmlDeviceSetTemperatureThreshold