1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 13:04:29 +00:00

Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs.

This commit is contained in:
Con Kolivas 2011-07-27 02:03:59 +10:00
parent 1aadfc580b
commit 40bc82d4ca

2
main.c
View File

@ -2909,8 +2909,10 @@ static void *gpuminer_thread(void *userdata)
timeval_subtract(&diff, &tv_end, &tv_workstart);
if (!requested) {
#if 0
if (diff.tv_sec > request_interval)
hash_div = (MAXTHREADS / total_hashes) ? : 1;
#endif
if (diff.tv_sec > request_interval || work->blk.nonce > request_nonce) {
if (unlikely(!queue_request())) {
applog(LOG_ERR, "Failed to queue_request in gpuminer_thread %d", thr_id);