1
0
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:
Con Kolivas 2013-04-21 09:36:49 +10:00
parent 92c61cbd4c
commit 57e5bfbb25

2
ocl.c
View File

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