Skip to content

Commit c348153

Browse files
committed
ignore overclock deprecation warning
1 parent c8b4527 commit c348153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IntelPresentMon/ControlLib/IntelPowerTelemetryAdapter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ namespace pwr::intel
103103
double gpu_sustained_power_limit_mw = 0.;
104104
if (const auto result = ctlOverclockPowerLimitGet(
105105
deviceHandle, &gpu_sustained_power_limit_mw);
106-
result != CTL_RESULT_SUCCESS) {
106+
result != CTL_RESULT_SUCCESS && result != CTL_RESULT_ERROR_CORE_OVERCLOCK_DEPRECATED_API) {
107107
success = false;
108108
IGCL_ERR(result);
109109
}

0 commit comments

Comments
 (0)