Yeah, I'm aware of it, thank you, I checked it before posting.
We are doing mostly resize, and if I'm not mistaken resize is supported for operation on GPU.
GPU-Z says that OpenCL is supported by my integrated GPU (Intel HD Graphics 4600). So I'm trying to resize a big image (41 megapixel, from Nokia 1020) to a small one (1000*1000 for tests) and GPU load is zero, but CPU load is nearly 100% on one core during test run, so I assume that Magick.NET didn't use GPU.
I have very simple console app:
Thank you for fast answer!
We are doing mostly resize, and if I'm not mistaken resize is supported for operation on GPU.
GPU-Z says that OpenCL is supported by my integrated GPU (Intel HD Graphics 4600). So I'm trying to resize a big image (41 megapixel, from Nokia 1020) to a small one (1000*1000 for tests) and GPU load is zero, but CPU load is nearly 100% on one core during test run, so I assume that Magick.NET didn't use GPU.
I have very simple console app:
static void Main(string[] args)
{
Console.WriteLine("Use GPU = {0}", MagickNET.UseOpenCL);
Console.WriteLine("Features = {0}", MagickNET.Features);
var image = new MagickImage("Sources\\bigOne.jpg");
image.Resize(new Percentage(50));
image.Write("output\\1.jpg");
Console.WriteLine("Done");
Console.ReadKey();
}
It prints:Use GPU = True
Features = DPC Modules OpenCL OpenMP
Done
We want to test viability of adding GPU to our servers to handle resizing of images using ImageMagick. For that I should measure performance on CPU and GPU and understand when Magick.Net will choose GPU and when not.Thank you for fast answer!