I used the following code to run an inverse FFT on a complex float vector:
res = cufftPlanMany(&planRow, 1, 4096, //plan, rank, n NULL, 1, 4096, //inembed, istried, idist NULL, 1, 4096, //oneembed, ostride, odist CUFFT_C2C, 512); //type, batch res = cufftExecC2C (planRow, pDest, pDest, CUFFT_INVERSE);
I compared the results of the IFFT to Matlab.
with cuFFT each complex sample is 4096 times larger that a Matlab sample.
Can you please explain it ? How can I fix it ?