Hello, great work on this project - I'm a big fan. :)
I am trying to benchmark Magick.NET performance against GDI+, and have written a test harness that loads, resizes and writes images in parallel. When I run Magick.NET tests with OpenCL disabled, performance is great and I get no errors. However with OpenCL enabled I get AccessViolationException exceptions after a hundred or so images. I have encountered this with 2 different GPUs, on a laptop (Intel HD Graphics 4000) and on an AWS G2 instance (NVIDIA GRID K520).
I'm attaching my code to this issue. I'm using a test set of 11,000 jpegs from http://apod.nasa.gov/
If you need more information I will do my best to oblige! Thanks again.
Comments: Can you reproduce the issue when you use a single image in the Parallel.ForEach? Or does it only happen when you use different images?
I am trying to benchmark Magick.NET performance against GDI+, and have written a test harness that loads, resizes and writes images in parallel. When I run Magick.NET tests with OpenCL disabled, performance is great and I get no errors. However with OpenCL enabled I get AccessViolationException exceptions after a hundred or so images. I have encountered this with 2 different GPUs, on a laptop (Intel HD Graphics 4000) and on an AWS G2 instance (NVIDIA GRID K520).
I'm attaching my code to this issue. I'm using a test set of 11,000 jpegs from http://apod.nasa.gov/
If you need more information I will do my best to oblige! Thanks again.
Comments: Can you reproduce the issue when you use a single image in the Parallel.ForEach? Or does it only happen when you use different images?