Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

significant accuracy drops for C2R FFT #247

Open
fjrdev opened this issue Dec 9, 2023 · 0 comments
Open

significant accuracy drops for C2R FFT #247

fjrdev opened this issue Dec 9, 2023 · 0 comments

Comments

@fjrdev
Copy link

fjrdev commented Dec 9, 2023

I mapped an algorithm which uses R2C and C2R FFTs from fftw3 to clFFT. When comparing the outputs, I encountered a non negligible offset (in the 10e-3 range with MSE) in the backward FFT (hermitian-interleaved -> real, out-of-place). I then compared the intermediate results in the algorithm which all came close to the correct fftw3 version (offsets in range 10e-21). I also triple-checked all strides and transforming dimensions. Could there be any other reason for this huge discrepancy or did anyone else face similar accuracy drops during backward FFT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant