issue with convolve in IM 6.7.6.4

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

issue with convolve in IM 6.7.6.4

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: issue with convolve in IM 6.7.6.4

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: issue with convolve in IM 6.7.6.4

Post by fmw42 »

When you get some time, can you check this on your Mac? Not urgent.
Post Reply