From d81801483884c35b77e91f6cce81ca70599639c6 Mon Sep 17 00:00:00 2001 From: Jan Berdajs Date: Mon, 9 Jun 2014 18:15:24 +0200 Subject: [PATCH] index was into cgpu threads, not into global mining threads --- driver-opencl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver-opencl.c b/driver-opencl.c index bb4d4e0a..8b28bb7a 100644 --- a/driver-opencl.c +++ b/driver-opencl.c @@ -683,7 +683,7 @@ void pause_dynamic_threads(int gpu) for (i = 1; i < cgpu->threads; i++) { struct thr_info *thr; - thr = mining_thr[i]; + thr = cgpu->thr[i]; if (!thr->pause && cgpu->dynamic) { applog(LOG_WARNING, "Disabling extra threads due to dynamic mode."); applog(LOG_WARNING, "Tune dynamic intensity with --gpu-dyninterval");