projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6409a4b
)
adjust matchTemplate in performance sample, as current version is too slow when templ...
author
yao
<bitwangyaoyao@gmail.com>
Wed, 27 Feb 2013 13:41:04 +0000
(21:41 +0800)
committer
yao
<bitwangyaoyao@gmail.com>
Wed, 27 Feb 2013 13:41:04 +0000
(21:41 +0800)
samples/ocl/performance.cpp
patch
|
blob
|
history
diff --git
a/samples/ocl/performance.cpp
b/samples/ocl/performance.cpp
index
c37c3a9
..
20fa045
100644
(file)
--- 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);