mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Remove the test for whether the device is on the highest profil level before raising the GPU speed as it is ineffectual and may prevent raising the GPU
speed.
This commit is contained in:
parent
b4364d4f78
commit
2b61d973cd
6
adl.c
6
adl.c
@ -1066,10 +1066,8 @@ void gpu_autotune(int gpu, bool *enable)
|
||||
if (opt_debug)
|
||||
applog(LOG_DEBUG, "Temperature %d degrees over target, decreasing clock speed", opt_hysteresis);
|
||||
newengine = engine - ga->lpOdParameters.sEngineClock.iStep;
|
||||
/* Only try to tune engine speed up if the current performance level is at max and this GPU is not
|
||||
* disabled */
|
||||
} else if ((ga->lpActivity.iCurrentPerformanceLevel == ga->lpOdParameters.iNumberOfPerformanceLevels - 1) &&
|
||||
(temp < ga->targettemp && engine < ga->maxspeed) && *enable) {
|
||||
/* Only try to tune engine speed up if this GPU is not disabled */
|
||||
} else if (temp < ga->targettemp && engine < ga->maxspeed && *enable) {
|
||||
if (opt_debug)
|
||||
applog(LOG_DEBUG, "Temperature below target, increasing clock speed");
|
||||
newengine = engine + ga->lpOdParameters.sEngineClock.iStep;
|
||||
|
Loading…
Reference in New Issue
Block a user