Prefix sum (scan)

Hi,

I would like to ask if anyone has develop the Prefix sum(scan)(http://en.wikipedia.org/wiki/Prefix_sum) algorithm in OpenACC.

I have develop the cuda implementation according to this NVIDIA article from GPU Gems 3 --> http://http.developer.nvidia.com/GPUGems3/gpugems3_ch39.html

Is it possible to create it in OpenAcc protocol?

Thanks,
Sotiris

Hi Sotiris,

I don’t know of anyone developing an OpenACC version, but you should be able to find an OpenMP version that could be easily ported over to OpenACC.

  • Mat