I am a starter on CUDA programming, and try to compose a program to fulfil a FFT of an input 1D array.
I trie to copy the example of “sample.cu” and “simplefft” in SDK, and composed one by myself. However, I met some annoying problem. Two lines in my program were jumped over when it was complied… And the results are all wrong.
These are the two command that do not function as it supposed to be in FFT.cu
9 cufftHandle plan;
10 float2 *work;
I attached all my files in the attachment, hope someone could help me…
CUDAWinApp1.rar (402 KB)