1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00

index was into cgpu threads, not into global mining threads

This commit is contained in:
Jan Berdajs 2014-06-09 18:15:24 +02:00
parent 3cbfe2547f
commit d818014838

View File

@ -683,7 +683,7 @@ void pause_dynamic_threads(int gpu)
for (i = 1; i < cgpu->threads; i++) { for (i = 1; i < cgpu->threads; i++) {
struct thr_info *thr; struct thr_info *thr;
thr = mining_thr[i]; thr = cgpu->thr[i];
if (!thr->pause && cgpu->dynamic) { if (!thr->pause && cgpu->dynamic) {
applog(LOG_WARNING, "Disabling extra threads due to dynamic mode."); applog(LOG_WARNING, "Disabling extra threads due to dynamic mode.");
applog(LOG_WARNING, "Tune dynamic intensity with --gpu-dyninterval"); applog(LOG_WARNING, "Tune dynamic intensity with --gpu-dyninterval");