CUFFFT and pitched 2D allocation

Hi all,

i’m wondering if CUFFT can deal with pitched allocated structures (cudaMallocPitch allocated).
No reference I was able to find in the CUFFT manual about pitched structures or pitch parameter for input/ouput variables.

Hence, I deduce that no pitched structures are compatible with cufft. Is is correct?

I was also wondering if the cudaMallocPitch call affects the allocation of a 1D structure as in the following example:

cudaMallocPitch((void**)&u, &pitch_u, cN2SizeC,1)

I guess that in practis there is no difference with cudaMalloc((void**)&u, cN2SizeCcN1) in this case.

What do you think?

I would be gratefull to anyone that can help me in understanding better these points.

Thank you

Pietro

I thought it’s better to dig out this thread than starting a new one.

I have exactely the same problem as described (using CUDA 2.3 btw).

Are there any insights someone might want to share?

Cheers!