Browse Source

Limit scrypt to 1 vector.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
428d5e5d4d
  1. 2
      ocl.c

2
ocl.c

@ -420,6 +420,8 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
case KL_SCRYPT: case KL_SCRYPT:
strcpy(filename, SCRYPT_KERNNAME".cl"); strcpy(filename, SCRYPT_KERNNAME".cl");
strcpy(binaryfilename, SCRYPT_KERNNAME); strcpy(binaryfilename, SCRYPT_KERNNAME);
/* Scrypt only supports vector 1 */
gpus[gpu].vwidth = 1;
break; break;
case KL_NONE: /* Shouldn't happen */ case KL_NONE: /* Shouldn't happen */
case KL_DIABLO: case KL_DIABLO:

Loading…
Cancel
Save