projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d45f9ef
)
fix hog
author
yao
<bitwangyaoyao@gmail.com>
Fri, 24 May 2013 05:46:21 +0000
(13:46 +0800)
committer
yao
<bitwangyaoyao@gmail.com>
Fri, 24 May 2013 05:46:21 +0000
(13:46 +0800)
modules/ocl/src/hog.cpp
patch
|
blob
|
history
diff --git
a/modules/ocl/src/hog.cpp
b/modules/ocl/src/hog.cpp
index
9c8f315
..
ae74ed5
100644
(file)
--- a/
modules/ocl/src/hog.cpp
+++ b/
modules/ocl/src/hog.cpp
@@
-1578,7
+1578,8
@@
static void openCLExecuteKernel_hog(Context *clCxt , const char **source, string
size_t globalThreads[3], size_t localThreads[3],
vector< pair<size_t, const void *> > &args)
{
- size_t wave_size = queryDeviceInfo<WAVEFRONT_SIZE, size_t>();
+ cl_kernel kernel = openCLGetKernelFromSource(clCxt, source, kernelName);
+ size_t wave_size = queryDeviceInfo<WAVEFRONT_SIZE, size_t>(kernel);
if (wave_size <= 16)
{
char build_options[64];