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:
131d7c3
)
fixed typo in OpenCLAllocator.upload method (wrong step used)
author
Vladimir Dudnik
<vladimir.dudnik@itseez.com>
Tue, 11 Aug 2015 13:01:05 +0000
(16:01 +0300)
committer
Vladimir Dudnik
<vladimir.dudnik@itseez.com>
Tue, 11 Aug 2015 13:01:05 +0000
(16:01 +0300)
modules/core/src/ocl.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/ocl.cpp
b/modules/core/src/ocl.cpp
index
2c4bf92
..
c51f90a
100644
(file)
--- a/
modules/core/src/ocl.cpp
+++ b/
modules/core/src/ocl.cpp
@@
-5110,7
+5110,7
@@
public:
}
else
{
- AlignedDataPtr2D<true, false> alignedPtr((uchar*)srcptr, new_sz[1], new_sz[0], new_
dst
step[0], CV_OPENCL_DATA_PTR_ALIGNMENT);
+ AlignedDataPtr2D<true, false> alignedPtr((uchar*)srcptr, new_sz[1], new_sz[0], new_
src
step[0], CV_OPENCL_DATA_PTR_ALIGNMENT);
uchar* ptr = alignedPtr.getAlignedPtr();
CV_Assert(clEnqueueWriteBufferRect(q, (cl_mem)u->handle, CL_TRUE,