OpenCL clEnqueueNDRangeKernel failed

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dannygreer
Posts: 19
Joined: 2016-05-31T18:06:11-07:00
Authentication code: 1151

OpenCL clEnqueueNDRangeKernel failed

Post by dannygreer »

I've compiled ImageMagick with OpenCL for use on an AWS g2x multi-gpu server and while testing a bash script that resizes and writes several versions of an image I'm getting a warning that I am not sure if I should be concerned about:
convert: clEnv->library->clEnqueueNDRangeKernel failed. '.' @ warning/accelerate.c/resizeHorizontalFilter/4039.
If you're planning on doing the same, in my experience just compiling with OpenCL or OpenCL and OpenMP wasn't enough for me, this lead to some versions written as just garbage, looked like an analog tv that isn't tuned to a tv channel. It works with the above error now that I have DPC HDRI Cipher OpenCL OpenMP.
Edit: OpenCL is still producing corrupt jpegs.
Last edited by dannygreer on 2016-06-17T10:43:14-07:00, edited 1 time in total.
--
Danny
Version: ImageMagick 6.9.4-3 Q16 x86_64
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: OpenCL clEnqueueNDRangeKernel failed

Post by dlemstra »

This means that it failed to enqueue a kernel so you should be concerned about it. I think this is caused because of a bug that was fixed yesterday. I am not sure when we will publish the next version but I would fix the leaking of OpenCL command queues.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply