mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 04:00:30 +08:00
Fix incorrect size computation
This commit is contained in:
parent
73ba435610
commit
4ff8a3ad92
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user