1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-29 16:04:33 +00:00

Limit scrypt to 1 vector.

This commit is contained in:
Con Kolivas 2012-07-16 13:22:35 +10:00
parent 76c37891ea
commit 428d5e5d4d

2
ocl.c
View File

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