From bf427c01c130529018297b238d3a5bdb317e466e Mon Sep 17 00:00:00 2001 From: yao Date: Wed, 27 Feb 2013 21:41:04 +0800 Subject: [PATCH] adjust matchTemplate in performance sample, as current version is too slow when template size isn't small --- samples/ocl/performance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/ocl/performance.cpp b/samples/ocl/performance.cpp index c37c3a9..20fa045 100644 --- a/samples/ocl/performance.cpp +++ b/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); -- 2.7.4