Browse Source

Set default ocl work size for scrypt to 256.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
57e5bfbb25
  1. 2
      ocl.c

2
ocl.c

@ -469,6 +469,8 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize) @@ -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…
Cancel
Save