diff --git a/samples/ocl/performance.cpp b/samples/ocl/performance.cpp index c37c3a9d50..20fa04574e 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);