Page 1 of 1

Possible bug -convolve OpenCL IM 6.7.4.4 Q16

Posted: 2012-01-07T17:32:59-07:00
by fmw42
Version: ImageMagick 6.7.4-4 2012-01-01 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP OpenCL HDRI

Mac OSX Snow Leopard



I am getting what looks like an OpenCL error message when running -convolve. Is this a bug or need I disable OpenCL. Perhaps my system does not have or support OpenCL?

The image does seem to get created and seems to be convolved.


convert rose: -convolve "1,1,1,1,1,1,1,1,1" rose_conv.png

convert: DelegateFailed `[CL_BUILD_PROGRAM_FAILURE] : OpenCL Error : clBuildProgram failed: could not build program for device 0 (0x100d05fc0) (-44)' @ warning/accelerate.c/ConvolveNotify/317.
convert: DelegateFailed `[CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
<program source>:21:1: error: expected ';' after return statement
}
^

' @ warning/accelerate.c/ConvolveNotify/317.
convert: failed to build OpenCL program `ROSE' (<program source>:21:1: error: expected ';' after return statement
}
^
) @ warning/accelerate.c/GetConvolveInfo/631.


If it is the case that my system does not have OpenCL, is it possible for IM to check that and skip using OpenCL in a more silent manner or is it necessary that I recompile without OpenCL?

Re: Possible bug -convolve OpenCL IM 6.7.4.4 Q16

Posted: 2012-01-08T06:45:25-07:00
by magick
We can reproduce the problem you reported and have a patch in ImageMagick 6.7.4-5 Beta available sometime tomorrow. Thanks.

Re: Possible bug -convolve OpenCL IM 6.7.4.4 Q16

Posted: 2012-01-08T12:20:49-07:00
by fmw42
magick wrote:We can reproduce the problem you reported and have a patch in ImageMagick 6.7.4-5 Beta available sometime tomorrow. Thanks.
No rush on my part.

Fred