-
Notifications
You must be signed in to change notification settings - Fork 227
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
Aliasing/Polluted Result from rfftplan for Float32 2^n 3D array #1656
Comments
Do you have any idea what causes this? Why do you think CUDA.jl's wrappers are to blame, and not the underlying CUFFT libraries (in which case it would be better to file a bug with them)? |
Thanks for checking it out. I am not meaning to blame CUDA.jl. |
What version of CUDA and CUDA.jl were you using with Julia 1.5.3? If the CUDA.jl version is different, a different toolkit could have been loaded. The version of AbstractFFTs.jl could also matter To rule out a bug in the CUDA toolkit, try the following: With the latest released version of CUDA.jl, run your code under various settings of the |
Thank you for your suggestion. After some trial and error, I located the bug would happen when the CuFFT library version > |
This issue was originally from the discussion in FourierFlows but I think I should better move it here.
Environment: WSL2 Ubuntu 18.04/20.04
Julia version: Julia 1.7.3/1.8.2
CUDA version: 11.8
The brief summary are,
The Figure below illustrates the issue
However, if we change the size from 2^n to other numbers such as 10*n (for example, 130) or use Float64, this aliasing would disappear
To better shows the problem, I construct a test code for that, and here is the graphical comparison
The text was updated successfully, but these errors were encountered: