-
Notifications
You must be signed in to change notification settings - Fork 114
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
Use @batch reduction functionality for subcell bounds check #1888
Use @batch reduction functionality for subcell bounds check #1888
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1888 +/- ##
==========================================
- Coverage 96.31% 96.31% -0.00%
==========================================
Files 440 440
Lines 35797 35788 -9
==========================================
- Hits 34476 34467 -9
Misses 1321 1321
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Nice! The compat bound of Polyester.jl should be set to v0.7.10.
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.
Thanks a lot!
Polyester.jl supports an automatic reduction functionality with
@batch
since the newest version v0.7.10.The bounds check of subcell limiting requires a reduction step of deviations, which created a lot of issue due to False Sharing in the past. After some testing and discussion, I implemented a relatively ugly fix in PR #1736.
With the new Polyester functionality, we can achieve a much nicer solution with approximately the same performance and scaleability.
Test within branch
bennibolm/subcell-limiting
and fix inbennibolm/subcell-limiting-@batch-reduction
Time results of the bounds check are