mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 22:14:36 +00:00
Allow dynamic to adjust up to MAX_INTENSITY
This commit is contained in:
parent
487327f83d
commit
5e9676c23c
2
main.c
2
main.c
@ -5745,7 +5745,7 @@ static uint64_t opencl_scanhash(struct thr_info *thr, struct work *work, uint64_
|
|||||||
if (gpu->intensity > MIN_INTENSITY)
|
if (gpu->intensity > MIN_INTENSITY)
|
||||||
--gpu->intensity;
|
--gpu->intensity;
|
||||||
} else if (gpu_ms_average < 3) {
|
} else if (gpu_ms_average < 3) {
|
||||||
if (gpu->intensity < 10) // Should this be MAX_INTENSITY?
|
if (gpu->intensity < MAX_INTENSITY)
|
||||||
++gpu->intensity;
|
++gpu->intensity;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user