mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Do not round up the bufsize to the maximum allocable with scrypt.
This commit is contained in:
parent
3c3fbdce1c
commit
d0f18e83ad
3
ocl.c
3
ocl.c
@ -793,8 +793,7 @@ built:
|
||||
if (bufsize > cgpu->max_alloc) {
|
||||
applog(LOG_WARNING, "Maximum buffer memory device %d supports says %u", gpu, cgpu->max_alloc);
|
||||
applog(LOG_WARNING, "Your scrypt settings come to %u", bufsize);
|
||||
} else
|
||||
bufsize = cgpu->max_alloc;
|
||||
}
|
||||
applog(LOG_DEBUG, "Creating scrypt buffer sized %u", bufsize);
|
||||
clState->padbufsize = bufsize;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user