mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Default to poclbm kernel on Tahiti (7970) since phatk does not work, even though performance is sub-standard so that at least it will mine successfully
by default.
This commit is contained in:
parent
995b6dc892
commit
a3d90f84e2
6
ocl.c
6
ocl.c
@ -349,10 +349,10 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
|
||||
char filename[16];
|
||||
|
||||
if (chosen_kernel == KL_NONE) {
|
||||
if (clState->hasBitAlign)
|
||||
chosen_kernel = KL_PHATK;
|
||||
else
|
||||
if (!clState->hasBitAlign || strstr(name, "Tahiti"))
|
||||
chosen_kernel = KL_POCLBM;
|
||||
else
|
||||
chosen_kernel = KL_PHATK;
|
||||
}
|
||||
|
||||
switch (chosen_kernel) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user