Page 1 of 1

OpenCL Error

Posted: 2016-11-22T15:33:20-07:00
by blue-j
I get this when running a convert command with OpenCL variant of 6.9.6-5:
Assertion failed: (cache_info->opencl != (OpenCLCacheInfo *) NULL), function GetOpenCLEvents, file magick/cache.c, line 1699.
Abort trap: 6
Can anyone explain what this means, and if there might be a way to address the issue?

Version: ImageMagick 6.9.6-5 Q16 x86_64 2016-11-21
Features: Cipher DPC HDRI Modules OpenCL OpenMP
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib

Thanks!
-J

Re: OpenCL Error

Posted: 2016-11-22T15:44:01-07:00
by dlemstra
This assertion means that something happen that we did not except. But I have no idea why we even have the assertion there because the next line checks if the value is null. This will be resolved in the next version of ImageMagick.

You will not get this error when you do a release build instead of a debug build (no clue how you can do that on mac though).

Re: OpenCL Error

Posted: 2016-11-22T19:06:37-07:00
by blue-j
You're very kind to share your thoughts. Thank you for your time! - J