Browse Source

Stop special-casing worksize default to 256 for Cypress, since it incurs a 5 MH/s hit with stock config

Effectively reverts 95be41ae65d5c5bf74cf971fdcf0359b8221b562.
Luke Dashjr 13 years ago
parent
commit
2c85b70072
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ocl.c

+ 1 - 1
ocl.c

@@ -646,7 +646,7 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
 	else if (strstr(name, "Tahiti"))
 		clState->wsize = 64;
 	else {
-		if (strstr(name, "Cypress"))
+		if (strstr(name, "Not Really Cypress - but maybe if sanitized :)"))
 			clState->wsize = 256;
 		else
 			clState->wsize = (clState->max_work_size <= 256 ? clState->max_work_size : 256) / clState->vwidth;