I’m trying to process an image by using Paralle Accelerator in the following way (it’s the documentation example,actually)
runStencil(buffer_B, Band_B, 1, oob_src_zero) do b, a
b[0,0] = blur(a)
return a, b
And this code runs in nearly 20 seconds on my machine with an 150MB input image.
But by using the blur filter from the package Images (imblur is the function name), I get the same result in something like 7 seconds.
Shouldnt the parallel blur be faster than the sequential function or am I doing it wrong?