Using GPU acceleration

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
etrader
Posts: 13
Joined: 2012-09-29T06:53:04-07:00
Authentication code: 67789

Using GPU acceleration

Post by etrader » 2019-01-07T11:20:17-07:00

I have ImageMagick installed on Ubuntu 18.04 from the official repository. The machine has AMD Radeon Vega 64 with AMDGPU driver installed from the official AMD website.

I wonder if it is possible to use the GPU for hardware acceleration of convert or mogrify commands? Or I have to compile ImageMagick from the source?

rodlie
Posts: 23
Joined: 2018-12-13T01:41:06-07:00
Authentication code: 1152

Re: Using GPU acceleration

Post by rodlie » 2019-01-08T16:42:00-07:00

https://imagemagick.org/script/opencl.php

You will probably need to rebuild ImageMagick against the OpenCL SDK, as most distros don't ship ImageMagick with OpenCL enabled.

Post Reply