Browse Source

Sleeping on intensity decrease is broken, remove it.

Con Kolivas 13 years ago
parent
commit
6b80592cde
1 changed files with 0 additions and 2 deletions
  1. 0 2
      driver-opencl.c

+ 0 - 2
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;