mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-27 06:54:36 +00:00
Set default ocl work size for scrypt to 256.
This commit is contained in:
parent
92c61cbd4c
commit
57e5bfbb25
2
ocl.c
2
ocl.c
@ -469,6 +469,8 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
|
||||
|
||||
if (cgpu->work_size && cgpu->work_size <= clState->max_work_size)
|
||||
clState->wsize = cgpu->work_size;
|
||||
else if (opt_scrypt)
|
||||
clState->wsize = 256;
|
||||
else if (strstr(name, "Tahiti"))
|
||||
clState->wsize = 64;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user