mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 04:54:26 +00:00
Vals variables appearing first in the array in poclbm is faster.
This commit is contained in:
parent
22bd72012f
commit
1a2130cc53
@ -82,8 +82,8 @@ void search(const uint state0, const uint state1, const uint state2, const uint
|
||||
const uint PreVal4addT1, const uint Preval0,
|
||||
__global uint * output)
|
||||
{
|
||||
u W[24];
|
||||
u *Vals = &W[16]; // Now put at W[16] to be in same array
|
||||
u Vals[24];
|
||||
u *W = &Vals[8];
|
||||
|
||||
#ifdef GOFFSET
|
||||
const u nonce = (uint)(get_global_id(0));
|
||||
|
Loading…
x
Reference in New Issue
Block a user