Browse Source

Merge commit '69983b7' into bfgminer

Conflicts:
	ocl.c
Luke Dashjr 13 years ago
parent
commit
020e9825fe
1 changed files with 2 additions and 6 deletions
  1. 2 6
      ocl.c

+ 2 - 6
ocl.c

@@ -645,12 +645,8 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
 		clState->wsize = cgpu->work_size;
 	else if (strstr(name, "Tahiti"))
 		clState->wsize = 64;
-	else {
-		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;
-	}
+	else
+		clState->wsize = (clState->max_work_size <= 256 ? clState->max_work_size : 256) / clState->vwidth;
 	cgpu->work_size = clState->wsize;
 
 #ifdef USE_SCRYPT