From 6b80592cde18df19f69ffc7579220f810f051ac3 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 29 Jul 2012 20:27:37 +1000 Subject: [PATCH] Sleeping on intensity decrease is broken, remove it. --- driver-opencl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/driver-opencl.c b/driver-opencl.c index 0bfd805c..8df0b101 100644 --- a/driver-opencl.c +++ b/driver-opencl.c @@ -1509,8 +1509,6 @@ static int64_t opencl_scanhash(struct thr_info *thr, struct work *work, if (gpu->gpu_us_average > dynamic_us) { if (gpu->intensity > MIN_INTENSITY) --gpu->intensity; - else - nmsleep(gpu->gpu_us_average - dynamic_us); } else if (gpu->gpu_us_average < dynamic_us / 2) { if (gpu->intensity < MAX_INTENSITY) ++gpu->intensity;