I would like to do both whole scan and multiscan on the same 2d array.
I’m using cudpp. My array has been defined using the cudaMallocPitch and initialized
using the cudaMemcpy2D.
When I do the scans, the results for the multiscan are correct but the
whole scan doesn’t work. However when I reinitialize the array using
the cudaMemcpy() the whole scan works.
So my my question is: Is-it possible to make a whole scan on a 2d array defined
with mallocPitch and initialized with the cudaMemcpy2D ?