Skip to content
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

Optimise @debug_shared_array #171

Merged
merged 2 commits into from
Dec 15, 2023
Merged

Optimise @debug_shared_array #171

merged 2 commits into from
Dec 15, 2023

Conversation

johnomotani
Copy link
Collaborator

Add a Bool flag that records whether an array has been accessed at all. If it has not been (on any process in a shared-memory block), can skip the rest of the checks. This significantly speeds up the debug checks.

Add a Bool flag that records whether an array has been accessed at all.
If it has not been (on any process in a shared-memory block), can skip
the rest of the checks. This significantly speeds up the debug checks.
Previously `test_input` had set `evolve_moments_density => true`, so was
doing the same test as `test_input_split1`.
@johnomotani johnomotani merged commit 65be0cd into master Dec 15, 2023
14 of 16 checks passed
@johnomotani johnomotani deleted the debug-checks-speed-up branch December 15, 2023 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant