1. 26 May, 2015 1 commit
    • Zhigang Gong's avatar
      Avoid negative index for a local buffer in Canny.cl. · 3c852009
      Zhigang Gong authored
      int pix_per_thr = l_counter / LOCAL_TOTAL + ((lid < mod) ? 1 : 0);
      The pix_per_thr * LOCAL_TOTAL may be larger than l_counter.
      Thus the index of l_stack may be negative which may cause serious
      problems. Let's skip the loop when we get negative index and we need
      to add back the lcounter to keep its balance and avoid potential
      negative counter.
      Signed-off-by: 's avatarZhigang Gong <zhigang.gong@intel.com>
      3c852009
  2. 25 May, 2015 6 commits
  3. 24 May, 2015 14 commits
  4. 23 May, 2015 12 commits
  5. 22 May, 2015 7 commits