Fixed a missing barrier.

This commit is contained in:
Peng Xiao 2013-10-28 14:17:59 +08:00
parent 4b712eeded
commit ab2bd58f5c

View File

@ -553,6 +553,7 @@ edgesHysteresisGlobal
if (subTaskIdx < portion)
pos = s_st[s_counter - 1 - subTaskIdx];
barrier(CLK_LOCAL_MEM_FENCE);
if (lidx == 0)
s_counter -= portion;