Browse Source

Don't send a ping to a dynamic device if it's not enabled as that will just enable it for one pass and then disable it again.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
1dff4297fa
  1. 2
      device-gpu.c

2
device-gpu.c

@ -453,7 +453,7 @@ void pause_dynamic_threads(int gpu)
if (!thread_no++) if (!thread_no++)
continue; continue;
thr->pause = cgpu->dynamic; thr->pause = cgpu->dynamic;
if (!cgpu->dynamic) if (!cgpu->dynamic && cgpu->enabled)
tq_push(thr->q, &ping); tq_push(thr->q, &ping);
} }
} }

Loading…
Cancel
Save