Skip to content
Snippets Groups Projects
Unverified Commit c3feb225 authored by fireice-uk's avatar fireice-uk Committed by GitHub
Browse files

Merge pull request #1265 from psychocrypt/fix-openCLOSXBuild

fix OpenCl AMD on OSX
parents b2ee59bb a832fdf3
No related branches found
No related tags found
No related merge requests found
......@@ -433,10 +433,7 @@ inline ulong getIdx()
#endif
}
inline uint4 mix_and_propagate(__local uint4 xin[8][WORKSIZE])
{
return xin[(get_local_id(1)) % 8][get_local_id(0)] ^ xin[(get_local_id(1) + 1) % 8][get_local_id(0)];
}
#define mix_and_propagate(xin) (xin)[(get_local_id(1)) % 8][get_local_id(0)] ^ (xin)[(get_local_id(1) + 1) % 8][get_local_id(0)]
__attribute__((reqd_work_group_size(WORKSIZE, 8, 1)))
__kernel void cn0(__global ulong *input, __global uint4 *Scratchpad, __global ulong *states, ulong Threads
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment