Commit ab2bd58f authored by Peng Xiao's avatar Peng Xiao

Fixed a missing barrier.

parent 4b712eed
...@@ -553,6 +553,7 @@ edgesHysteresisGlobal ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment