Page 1 of 1

issue with convolve in IM 6.7.6.4

Posted: 2012-04-04T19:58:21-07:00
by fmw42
Mac OSX Snow Leopard (INTEL)

convert -version
Version: ImageMagick 6.7.6-4 2012-04-04 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP OpenCL


I am getting some odd messages with -convolve:


convert rose: -convolve "0, -1, 0, -1, 4, -1, 0, -1, 0" show:

convert: DelegateFailed `[CL_INVALID_COMMAND_QUEUE] : OpenCL Fatal Error : Read caused an error that invalidated the queue (0x1020032f0). This may be due to a resource allocation failure at execution time.' @ warning/accelerate.c/ConvolveNotify/317.
convert: DelegateFailed `[CL_INVALID_COMMAND_QUEUE] : OpenCL Error : clEnqueueReadBuffer failed: Invalid command queue' @ warning/accelerate.c/ConvolveNotify/317.


This appears to be a problem with OpenCL. Or is it just a problem on Macs and need I disable OpenCL from my configure file?

Fred

Re: issue with convolve in IM 6.7.6.4

Posted: 2012-04-05T04:08:01-07:00
by magick
Looks like one of the OpenCL API calls is failing. Certainly the --disable-opencl configure script command line option will fix the problem, ImageMagick will revert to convolving on the CPU rather than the GPU. We're not sure why the OpenCL pipeline is failing. It works for us on our M2070 GPU under Linux.

Re: issue with convolve in IM 6.7.6.4

Posted: 2012-04-05T17:18:25-07:00
by fmw42
When you get some time, can you check this on your Mac? Not urgent.