CL_MEM_COPY_OVERLAP triggered running squares_ocl on CPU (Bug #2313)
Description
Running squares_ocl on CPU triggers a bug.
./squares_ocl A program using OCL module pyramid scaling, Canny, dilate functions, threshold, split; cpu contours, contour simpification and memory storage (it's got it all folks) to find squares in a list of images pic1-6.png Returns sequence of squares detected on the image. the sequence is stored in the specified memory storage Call: ./squares Using OpenCV version %s 2.4.9 OpenCV Error: Gpu API call (CL_MEM_COPY_OVERLAP) in openCLCopyBuffer2D, file /home/andrey/Downloads/opencv/opencv/modules/ocl/src/initialization.cpp, line 423 terminate called after throwing an instance of 'cv::Exception' what(): /home/andrey/Downloads/opencv/opencv/modules/ocl/src/initialization.cpp:423: error: (-217) CL_MEM_COPY_OVERLAP in function openCLCopyBuffer2D Aborted $
and typos:
- "./squares\n" + "./squares_ocl\n" - "Using OpenCV version %s\n" << CV_VERSION << "\n" << endl; + "Using OpenCV version " << CV_VERSION << "\n" << endl;
Associated revisions
Merge pull request #2313 from m3d:patch-1
History
Updated by Peng Xiao about 12 years ago
Can you give a detailed description about your OpenCL platform? i.e.,
1. vender and model of your CPU
2. OpenCL SDK
3. version no.
Any other details would also help,
Thanks!
Andrey Gursky wrote:
Running squares_ocl on CPU triggers a bug.
[...]
and typos:
[...]
Updated by Ilya Lavrenov about 11 years ago
Hi Andrey, is the problem still observed? If so, can you attach an input image?
- HW Platform set to Any
- Operating System set to Any
- Affected version set to 2.4.0 - 2.4.6
- Target version set to 2.4.8
Updated by Alexander Smorkalov about 11 years ago
- Target version changed from 2.4.8 to 2.4.9
Updated by Alexander Smorkalov almost 11 years ago
- Target version changed from 2.4.9 to 2.4.10
Updated by Vadim Pisarevsky almost 10 years ago
OpenCL code in 2.4.x was experimental; in 3.0-dev it's less so, please, try it out; feel free to reopen the bug if the problem is still valid
- Status changed from Open to Cancelled
- HW Platform changed from Any to x64
- Operating System changed from Any to Windows
- Affected version changed from 2.4.0 - 2.4.6 to branch '2.4' (2.4-dev)