OpenCL

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
3DTOPO
Posts: 28
Joined: 2010-07-05T16:13:53-07:00
Authentication code: 8675308

OpenCL

Post by 3DTOPO »

Are there any plans to support OpenCL?

I might be able to help if I can...
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: OpenCL

Post by magick »

ImageMagick has an OpenCL algorithm embedded in it already. See http://www.imagemagick.org/script/archi ... istributed.
3DTOPO
Posts: 28
Joined: 2010-07-05T16:13:53-07:00
Authentication code: 8675308

Re: OpenCL

Post by 3DTOPO »

Thank you!

So what would be involved for making the general use functions (like the MagicWand API) take advantage of that?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: OpenCL

Post by magick »

We only have one algorithm OpenCL-enabled-- FilterImage() in MagickCore and MagickFilterImage() in MagickWand.
zhong xiao bao
Posts: 6
Joined: 2011-08-08T20:21:39-07:00
Authentication code: 8675308

Re: OpenCL

Post by zhong xiao bao »

I want to realish some major funtions of imagemagick used opencl ,would you help me or give me some advices
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: OpenCL

Post by magick »

Our only advice is to take a look at the ImageMagick source, ImageMagick-6.7.1-9/magick/accelerate.c/AccelerateConvolveImage(). You can use it as a template for your own custom OpenCL methods.
Post Reply