mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-01 01:14:22 +00:00
ocl: vectors are hard-set to 1, add appropriate "optimisation".
This commit is contained in:
parent
ab9fcb1a14
commit
7217da3078
3
ocl.c
3
ocl.c
@ -459,7 +459,8 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cgpu->vwidth)
|
/* Vectors are hard-set to 1 above. */
|
||||||
|
if (likely(cgpu->vwidth))
|
||||||
clState->vwidth = cgpu->vwidth;
|
clState->vwidth = cgpu->vwidth;
|
||||||
else {
|
else {
|
||||||
clState->vwidth = preferred_vwidth;
|
clState->vwidth = preferred_vwidth;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user