Fixed a missing barrier.

pull/1677/head
Peng Xiao 11 years ago
parent 4b712eeded
commit ab2bd58f5c
  1. 1
      modules/ocl/src/opencl/imgproc_canny.cl

@ -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;

Loading…
Cancel
Save