Possible bug -convolve OpenCL IM 6.7.4.4 Q16

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

Possible bug -convolve OpenCL IM 6.7.4.4 Q16

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

Re: Possible bug -convolve OpenCL IM 6.7.4.4 Q16

Post by magick »

We can reproduce the problem you reported and have a patch in ImageMagick 6.7.4-5 Beta available sometime tomorrow. Thanks.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Possible bug -convolve OpenCL IM 6.7.4.4 Q16

Post 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
Post Reply