|
@@ -814,8 +814,9 @@ void pause_dynamic_threads(int gpu)
|
|
|
int i;
|
|
int i;
|
|
|
|
|
|
|
|
for (i = 1; i < cgpu->threads; i++) {
|
|
for (i = 1; i < cgpu->threads; i++) {
|
|
|
- struct thr_info *thr = &thr_info[i];
|
|
|
|
|
|
|
+ struct thr_info *thr;
|
|
|
|
|
|
|
|
|
|
+ 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");
|