cuda.bindings.nvml.device_get_temperature_v#

cuda.bindings.nvml.device_get_temperature_v(
intptr_t device,
nvmlTemperatureSensors_t sensorType,
) int#

Retrieves the current temperature readings (in degrees C) for the given device.

Parameters:

device (intptr_t) – Target device identifier.

Returns:

Structure specifying the sensor type (input) and retrieved temperature value (output).

Return type:

nvmlTemperature_v1_t

See also

nvmlDeviceGetTemperatureV