adjust matchTemplate in performance sample, as current version is too slow when template size isn't small

pull/579/head
yao 12 years ago
parent 6409a4b112
commit bf427c01c1
  1. 2
      samples/ocl/performance.cpp

@ -707,7 +707,7 @@ TEST(matchTemplate)
for (size_t j = 0; j < sizeof(all_type) / sizeof(int); j++)
{
for(templ_size = 5; templ_size < 200; templ_size *= 5)
for(templ_size = 5; templ_size <=5; templ_size *= 5)
{
gen(src, size, size, all_type[j], 0, 1);

Loading…
Cancel
Save