adjust matchTemplate in performance sample, as current version is too slow when templ...
authoryao <bitwangyaoyao@gmail.com>
Wed, 27 Feb 2013 13:41:04 +0000 (21:41 +0800)
committeryao <bitwangyaoyao@gmail.com>
Wed, 27 Feb 2013 13:41:04 +0000 (21:41 +0800)
samples/ocl/performance.cpp

index c37c3a9..20fa045 100644 (file)
@@ -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);