-
Notifications
You must be signed in to change notification settings - Fork 200
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
Make sure Oceananigans is type stable #552
Comments
We use For type-stable FFT we'll probably need something like https://github.com/milankl/coolFFT.jl |
Hey everyone, as an example I can point you to Juls.jl which can be executed with type julia> using Juls
julia> RunJuls(Float64);
Starting Juls on Thu, 05 Dec 2019 15:03:14 without output.
100% Integration done in 1.19s.
julia> RunJuls(Float32);
Starting Juls on Thu, 05 Dec 2019 15:03:19 without output.
100% Integration done in 0.72s.
julia> RunJuls(Float16);
Starting Juls on Thu, 05 Dec 2019 15:03:28 without output.
100% Integration done in 1min, 8s. without relying on type promotion. |
Concerning FFTs: |
Yeah that would be cool. Might also not be a bad idea to just use coolFFT.jl as it's <40 lines and seems to work (if we restrict ourselves to powers of 2 for |
Problem with coolFFT.jl is that it's fairly slow as it doesn't allow for |
@ali-ramadhan did we resolve this? |
I'm closing this issue because I'm judging that it's not of current, timely relevance to Oceananigans development. If you would like to make it a higher priority or if you think the issue was closed in error please feel free to re-open. |
To start testing Oceananigans at low-precision arithmetic and with alternative types with @milankl:
The text was updated successfully, but these errors were encountered: