duannaxin9975 2016-04-14 07:55
浏览 185

使用gographics / imagick进行OpenCL加速

I have been putting enormous effort trying to get GPU acceleration for my Imagemagick resize operations using Go and its imagick library: https://gopkg.in/gographics/imagick.v2/imagick

I have built imagemagick with OpenCL support and OpenCL acceleration works perfectly well when used in command line. However when using the resize operation in my Go code using imagick, no GPU acceleration happens. I have verified this through performance tests.

I have also tried modifying the imagick library in my own fork by adding support for explicitly initializing OpenCL (InitImageMagickOpenCL) but this provided no solution whatsoever.

I'd really appreciate if someone had a solution to this issue. Thank you in advance.

  • 写回答

0条回答 默认 最新

    报告相同问题?