|
|
@ -648,7 +648,6 @@ retry: |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
if (cgpu->status != LIFE_WELL) { |
|
|
|
if (cgpu->status != LIFE_WELL) { |
|
|
|
wlogprint("Must restart device before enabling it"); |
|
|
|
wlogprint("Must restart device before enabling it"); |
|
|
|
gpus[selected].deven = DEV_DISABLED; |
|
|
|
|
|
|
|
goto retry; |
|
|
|
goto retry; |
|
|
|
} |
|
|
|
} |
|
|
|
applog(LOG_DEBUG, "Pushing ping to thread %d", thr->id); |
|
|
|
applog(LOG_DEBUG, "Pushing ping to thread %d", thr->id); |
|
|
@ -985,7 +984,6 @@ select_cgpu: |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
gpu = cgpu->device_id; |
|
|
|
gpu = cgpu->device_id; |
|
|
|
cgpu->deven = DEV_DISABLED; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (thr_id = 0; thr_id < mining_threads; ++thr_id) { |
|
|
|
for (thr_id = 0; thr_id < mining_threads; ++thr_id) { |
|
|
|
thr = &thr_info[thr_id]; |
|
|
|
thr = &thr_info[thr_id]; |
|
|
@ -1010,8 +1008,6 @@ select_cgpu: |
|
|
|
applog(LOG_WARNING, "Thread %d no longer exists", thr_id); |
|
|
|
applog(LOG_WARNING, "Thread %d no longer exists", thr_id); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
cgpu->deven = DEV_ENABLED; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (thr_id = 0; thr_id < mining_threads; ++thr_id) { |
|
|
|
for (thr_id = 0; thr_id < mining_threads; ++thr_id) { |
|
|
|
int virtual_gpu; |
|
|
|
int virtual_gpu; |
|
|
|
|
|
|
|
|
|
|
|