Browse Source

Allow dynamic to adjust up to MAX_INTENSITY

Kano 14 years ago
parent
commit
5e9676c23c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.c

+ 1 - 1
main.c

@@ -5745,7 +5745,7 @@ static uint64_t opencl_scanhash(struct thr_info *thr, struct work *work, uint64_
 			if (gpu->intensity > MIN_INTENSITY)
 				--gpu->intensity;
 		} else if (gpu_ms_average < 3) {
-			if (gpu->intensity < 10) // Should this be MAX_INTENSITY?
+			if (gpu->intensity < MAX_INTENSITY)
 				++gpu->intensity;
 		}
 	}