-
Notifications
You must be signed in to change notification settings - Fork 9
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
Define copyto! for diagonalized field vectors #478
Conversation
bors try |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not add it to src?
@simonbyrne, @szy21, @jiahe23, @dennisYatunin, it looks like the performance for our implicit cases are improved with this PR:
Also, allocations in the implicit baroclinic wave go from 968.233 GiB to 7.197 GiB. 🎉 |
Oh, whoops 😆, I thought I did. |
Well, now I'm curious if any other cases might improve from this. |
bors try |
Move copyto to src/
cc9c73a
to
a32eabb
Compare
bors r+ |
Ok, maybe it'll be helpful to look at Rising bubble 2D hybrid in the same way, since that one still allocates 1TB (which is very strange for a 2D case). Ah, and some other cases, too. |
Related issue: #275 |
Based on some analysis, we're hoping this improves performance a bit. cc @simonbyrne