1
0
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:
Con Kolivas 2012-03-31 09:49:39 +11:00
parent 22bd72012f
commit 1a2130cc53

View File

@ -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));