1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-14 08:48:01 +00:00

Sleeping on intensity decrease is broken, remove it.

This commit is contained in:
Con Kolivas 2012-07-29 20:27:37 +10:00
parent 7e55a41209
commit 6b80592cde

View File

@ -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;