Fix for ROCm.
This commit is contained in:
parent
002fd008a6
commit
3d3a32087f
2 changed files with 880 additions and 885 deletions
|
@ -161,7 +161,6 @@ __kernel void cn0(__global ulong *input, __global uint4 *Scratchpad, __global ul
|
||||||
mem_fence(CLK_LOCAL_MEM_FENCE);
|
mem_fence(CLK_LOCAL_MEM_FENCE);
|
||||||
|
|
||||||
# if (ALGO_FAMILY == FAMILY_CN_HEAVY)
|
# if (ALGO_FAMILY == FAMILY_CN_HEAVY)
|
||||||
{
|
|
||||||
__local uint4 xin[8][8];
|
__local uint4 xin[8][8];
|
||||||
|
|
||||||
/* Also left over threads perform this loop.
|
/* Also left over threads perform this loop.
|
||||||
|
@ -184,7 +183,6 @@ __kernel void cn0(__global ulong *input, __global uint4 *Scratchpad, __global ul
|
||||||
barrier(CLK_LOCAL_MEM_FENCE);
|
barrier(CLK_LOCAL_MEM_FENCE);
|
||||||
text = mix_and_propagate(xin);
|
text = mix_and_propagate(xin);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue