cufftPlan-Size

Hi guys,

I use the cufft-library to calculate fft’s of images. I discovered, that the cufftPlan-Function takes a lot of memory from the device. Is there a way to estimate the memory-usage of the plan? Sometimes, there is enough space for the picture and an in-place-transform, but after I created the plan, there isn’t.

(Yes, I could try meassure the cost of every plan from 1 to XPixels iteratively, but I don’t want to… :ph34r: )

Thanks,
Daniel