Altera_Forum
Honored Contributor
11 years agoopencl_fft1d_x64_linux_14 fft algorithm is broken
The FFT algorithm in the opencl 1d fft sample isn't implemented correctly. In the example, the program generated random numbers for the fft input. It is then computed by the fft1d kernel, and checked by a c fft function fourier_transform_gold. Even though the c function fourier_transform_gold shows that the kernel calculated output is almost identical of the c output. The function fourier_transform_gold itself is not implemented correctly. This is checked by using a real sine wave and checking the magnitude output of the fft output.