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.

:param device: The identifier of the target device.
:type device: intptr_t
:param threshold_type: The type of threshold value queried.
:type threshold_type: TemperatureThresholds

:returns: Reference in which to return the temperature reading.
:rtype: unsigned int

.. seealso:: `nvmlDeviceGetTemperatureThreshold`