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:
73ba435
)
Fix incorrect size computation
author
Dmitry-Me
<wipedout@yandex.ru>
Wed, 26 Nov 2014 09:24:53 +0000
(12:24 +0300)
committer
Dmitry-Me
<wipedout@yandex.ru>
Wed, 26 Nov 2014 09:24:53 +0000
(12:24 +0300)
modules/core/src/ocl.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/ocl.cpp
b/modules/core/src/ocl.cpp
index
5e18e03
..
c18d8ba
100644
(file)
--- a/
modules/core/src/ocl.cpp
+++ b/
modules/core/src/ocl.cpp
@@
-3115,7
+3115,7
@@
bool Kernel::compileWorkGroupSize(size_t wsz[]) const
size_t retsz = 0;
cl_device_id dev = (cl_device_id)Device::getDefault().ptr();
return clGetKernelWorkGroupInfo(p->handle, dev, CL_KERNEL_COMPILE_WORK_GROUP_SIZE,
- sizeof(wsz[0]
*3)
, wsz, &retsz) == CL_SUCCESS;
+ sizeof(wsz[0]
)*3
, wsz, &retsz) == CL_SUCCESS;
}
size_t Kernel::localMemSize() const