I hope someone can help me with a problem I am having.
I am trying to do 1D FFT in a 1024*1000 array (one column at a time). I am trying to move my code from Matlab to CUDA. The Matlab fft() function does 1dFFT on the columns and it gives me a different answer that CUDA FFT and I am not sure why…I have tried all I can think off but it still does the same… :wacko:
Is the CUDA FFT library different? Is this result expected?
My code is here:
#define ROWS 1024
#define COLUMNS 1000
// CUFFT plan
cufftSafeCall(cufftExecR2C(plan, (cufftReal *)d_image_buff, (cufftComplex *)d_result_buff));
where the d_image_buff contains the 1024*1000 elements array. Is this the way I should be using the library?
Any help is greatly appreciated!