Skip to content

Commit d752eed

Browse files
Removed controller check when evaluating termal settings from NVAPI GPU_GetThernalSettings() call
1 parent f8fdca9 commit d752eed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

IntelPresentMon/ControlLib/NvidiaPowerTelemetryAdapter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ namespace pwr::nv
6767
// loop through all sensors, read those of interest into output struct
6868
for (const auto& sensor : thermals.sensor)
6969
{
70-
if (sensor.target == NVAPI_THERMAL_TARGET_GPU &&
71-
sensor.controller == NVAPI_THERMAL_CONTROLLER_GPU_INTERNAL)
70+
if (sensor.target == NVAPI_THERMAL_TARGET_GPU)
7271
{
7372
info.gpu_temperature_c = (double)sensor.currentTemp;
7473
SetTelemetryCapBit(GpuTelemetryCapBits::gpu_temperature);

0 commit comments

Comments
 (0)