diff --git a/adl.c b/adl.c index 26059569..08789eae 100644 --- a/adl.c +++ b/adl.c @@ -336,9 +336,10 @@ void init_adl(int nDevs) ga->autoengine = true; gpus[gpu].has_adl = true; - } - adl_active = true; + /* Flag adl as active if any card is successfully activated */ + adl_active = true; + } } static inline float __gpu_temp(struct gpu_adl *ga)