mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Fix for ROCm.
This commit is contained in:
@@ -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
Reference in New Issue
Block a user