projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
267eb99
)
Merge pull request #937 from bitwangyaoyao:2.4_fixPyrLK
author
Vadim Pisarevsky
<vadim.pisarevsky@gmail.com>
Tue, 4 Jun 2013 09:34:09 +0000
(13:34 +0400)
committer
OpenCV Buildbot
<buildbot@opencv.org>
Tue, 4 Jun 2013 09:34:09 +0000
(13:34 +0400)
modules/ocl/src/pyrlk.cpp
patch
|
blob
|
history
diff --git
a/modules/ocl/src/pyrlk.cpp
b/modules/ocl/src/pyrlk.cpp
index
a3e65dd
..
8e94204
100644
(file)
--- a/
modules/ocl/src/pyrlk.cpp
+++ b/
modules/ocl/src/pyrlk.cpp
@@
-142,7
+142,7
@@
static void lkSparse_run(oclMat &I, oclMat &J,
int wave_size = queryDeviceInfo<WAVEFRONT_SIZE, int>(kernel);
openCLSafeCall(clReleaseKernel(kernel));
- static char opt[
16
] = {0};
+ static char opt[
32
] = {0};
sprintf(opt, " -D WAVE_SIZE=%d", wave_size);
openCLExecuteKernel(clCxt, &pyrlk, kernelName, globalThreads, localThreads,