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

Fix bw test all_sync variable #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MamziB
Copy link

@MamziB MamziB commented Apr 6, 2022

When -w is set, every thread should do sync, but when there is only a single window (with multiple threads), only thread 0 needs to do Win sync, and other threads, should just participate in thread_barrier.

This fix is applicable only to the bw test, bibw probably needs a fix as well, but needs to be verified before opening a PR.

Signed-off-by: Mamzi Bayatpour [email protected]
Co-authored-by: Tomislav Janjusic [email protected]>

Signed-off-by: Mamzi Bayatpour <[email protected]>
Co-authored-by: Tomislav Janjusic <[email protected]>>
@hjelmn
Copy link
Collaborator

hjelmn commented Feb 12, 2025

Well, I think it still needs to set all_sync for active-message windows. I will have to verify this change in those cases.

@MamziB
Copy link
Author

MamziB commented Feb 12, 2025

@hjelmn thanks for checking this!

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.

2 participants