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:
parent
76c37891ea
commit
428d5e5d4d
2
ocl.c
2
ocl.c
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user