Page 1 of 1

OpenCL clEnqueueNDRangeKernel failed

Posted: 2016-06-17T09:03:51-07:00
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.

Re: OpenCL clEnqueueNDRangeKernel failed

Posted: 2016-06-17T09:17:56-07:00
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.