Skip to content
Snippets Groups Projects
Commit e274dbcc authored by psychocrypt's avatar psychocrypt
Browse files

OpenCL: fix Blake hashing

Windows driver creates wrong code if unroll is used.
parent 40df1cce
No related branches found
No related tags found
No related merge requests found
......@@ -1173,7 +1173,6 @@ __kernel void Blake(__global ulong *states, __global uint *BranchBuf, __global u
((uint8 *)h)[0] = vload8(0U, c_IV256);
#pragma unroll 4
for(uint i = 0, bitlen = 0; i < 4; ++i)
{
if(i < 3)
......@@ -1295,4 +1294,4 @@ __kernel void Groestl(__global ulong *states, __global uint *BranchBuf, __global
}
}
)==="
)==="
\ No newline at end of file
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