OpenCL Error

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
blue-j
Posts: 68
Joined: 2007-06-12T14:03:18-07:00

OpenCL Error

Post 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
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: OpenCL Error

Post 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).
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
blue-j
Posts: 68
Joined: 2007-06-12T14:03:18-07:00

Re: OpenCL Error

Post by blue-j »

You're very kind to share your thoughts. Thank you for your time! - J
Post Reply