Hello. these days, I tried to make a correlation function code using cufft.

I succeeded to do forward fft, but when I want to do ifft using cufftExecC2C( , , , CUFFT_INVERSE), I can’t get the result whai I want.

For example, if input[0] is 162. fft_result[0] is 3266227. If I do ifft about fft_result[0], I want to get 162.

I need help about this one.

Thank you for read. Have a nice day.