mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Revert "Pick worksize 256 with Cypress if none is specified."
This reverts commit 482322a4b7add8458bee946ffb247a9a587fc25f. Worksize 256 was only helpful on cypress with ultra-low memory speeds with old SDKs and the new kernels require higher memory clocks, having the opposite net effect.
This commit is contained in:
parent
b768758818
commit
69983b778b
8
ocl.c
8
ocl.c
@ -468,12 +468,8 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
|
|||||||
clState->wsize = cgpu->work_size;
|
clState->wsize = cgpu->work_size;
|
||||||
else if (strstr(name, "Tahiti"))
|
else if (strstr(name, "Tahiti"))
|
||||||
clState->wsize = 64;
|
clState->wsize = 64;
|
||||||
else {
|
else
|
||||||
if (strstr(name, "Cypress"))
|
clState->wsize = (clState->max_work_size <= 256 ? clState->max_work_size : 256) / clState->vwidth;
|
||||||
clState->wsize = 256;
|
|
||||||
else
|
|
||||||
clState->wsize = (clState->max_work_size <= 256 ? clState->max_work_size : 256) / clState->vwidth;
|
|
||||||
}
|
|
||||||
cgpu->work_size = clState->wsize;
|
cgpu->work_size = clState->wsize;
|
||||||
|
|
||||||
#ifdef USE_SCRYPT
|
#ifdef USE_SCRYPT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user