cuda.bindings.nvml.device_get_temperature_threshold#

cuda.bindings.nvml.device_get_temperature_threshold(
intptr_t device,
int threshold_type,
) unsigned int#

Retrieves 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 queried.

Returns:

Reference in which to return the temperature reading.

Return type:

unsigned int

See also

nvmlDeviceGetTemperatureThreshold