Fixed a missing barrier.
This commit is contained in:
parent
4b712eeded
commit
ab2bd58f5c
@ -553,6 +553,7 @@ edgesHysteresisGlobal
|
|||||||
|
|
||||||
if (subTaskIdx < portion)
|
if (subTaskIdx < portion)
|
||||||
pos = s_st[s_counter - 1 - subTaskIdx];
|
pos = s_st[s_counter - 1 - subTaskIdx];
|
||||||
|
barrier(CLK_LOCAL_MEM_FENCE);
|
||||||
|
|
||||||
if (lidx == 0)
|
if (lidx == 0)
|
||||||
s_counter -= portion;
|
s_counter -= portion;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user