Browse Source

same here

shouldn't change anything
djm34
djm34 10 years ago
parent
commit
499837e15e
  1. 2
      kernel/Lyra2REv2.cl

2
kernel/Lyra2REv2.cl

@ -285,7 +285,7 @@ __kernel void search3(__global uchar* hashes,__global uchar* matrix ) @@ -285,7 +285,7 @@ __kernel void search3(__global uchar* hashes,__global uchar* matrix )
uint gid = get_global_id(0);
// __global hash_t *hash = &(hashes[gid-get_global_offset(0)]);
__global hash_t *hash = (__global hash_t *)(hashes + (4 * sizeof(ulong)* (get_global_id(0) % MAX_GLOBAL_THREADS)));
__global ulong4 *DMatrix = (__global ulong4 *)(matrix + (4 * memshift * 4 * 4 * sizeof(ulong)* (get_global_id(0) % MAX_GLOBAL_THREADS)));
__global ulong4 *DMatrix = (__global ulong4 *)(matrix + (4 * memshift * 4 * 4 * 8 * (get_global_id(0) % MAX_GLOBAL_THREADS)));
// uint offset = (4 * memshift * 4 * 4 * sizeof(ulong)* (get_global_id(0) % MAX_GLOBAL_THREADS))/32;
ulong4 state[4];

Loading…
Cancel
Save