mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00
Flag any devices with autofan or autogpu as being managed.
This commit is contained in:
parent
a602f4e55f
commit
076677dd53
5
adl.c
5
adl.c
@ -325,9 +325,12 @@ void init_adl(int nDevs)
|
||||
ga->autofan = true;
|
||||
/* Set a safe starting default if we're automanaging fan speeds */
|
||||
set_fanspeed(gpu, 85);
|
||||
ga->managed = true;
|
||||
}
|
||||
if (opt_autoengine)
|
||||
if (opt_autoengine) {
|
||||
ga->autoengine = true;
|
||||
ga->managed = true;
|
||||
}
|
||||
|
||||
if (ga->managed) {
|
||||
if (ADL_Adapter_Speed_Set(iAdapterIndex, ADL_CONTEXT_SPEED_FORCEHIGH) != ADL_OK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user