cufft junk values

Hi

I am trying to process my data in two passes .

While calculating cufft i am getting correct values
whereas on second iteration i am getting junk values
why it is like this pls comment

the problem is unlikely with cufft itself

reruns generally require greater synchronization - you generally need to ensure reruns do not ‘collide’

perhaps check the input (array) specified, as well as the output (array) specified, and make sure that a) you do not pass junk to cufft to begin with, and b) you do not write over your own results