Skip to content

Commit db6c3a5

Browse files
authored
Update NvidiaPowerTelemetryAdapter.cpp
add a todo for refining gpu thermal telemetry gathering on nv
1 parent aa15aac commit db6c3a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

IntelPresentMon/ControlLib/NvidiaPowerTelemetryAdapter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +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+
// TODO: consider prioritizing sensor.controller == NVAPI_THERMAL_CONTROLLER_GPU_INTERNAL when multiple GPU thermals are present
7071
if (sensor.target == NVAPI_THERMAL_TARGET_GPU)
7172
{
7273
info.gpu_temperature_c = (double)sensor.currentTemp;
@@ -211,4 +212,4 @@ namespace pwr::nv
211212
{
212213
return name;
213214
}
214-
}
215+
}

0 commit comments

Comments
 (0)