From 428d5e5d4d601e4d52d529938cfc9d65965ee338 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 16 Jul 2012 13:22:35 +1000 Subject: [PATCH] Limit scrypt to 1 vector. --- ocl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ocl.c b/ocl.c index 675a31c6..16f23f0a 100644 --- a/ocl.c +++ b/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: