-
Notifications
You must be signed in to change notification settings - Fork 27
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
sph methods slow? #191
Comments
|
I'd have to check later, but my first guesses are that the allocations come from using a complex array. (You can also use complex spherical harmonics as spinsph with spin 0 which are designed for complex arrays from the beginning.) The architecture of M1 macs is different from the Intel macs so they use a different binary with different levels of optimization. You can double check it's using all cores, and can also try compiling from source with different optimization flags, but that's about it for now I think. |
Thanks for suggesting spinsph which fixes allocations nicely. This is what I get on an intel mac. For large arrays its similar, roughly 4-5 times longer than FFTW However, the small array handling is a lot better, closer to factor of 2
|
julia> versioninfo() |
Maybe this is totally expected, but:
The text was updated successfully, but these errors were encountered: