Skip to content

Fix bw test all_sync variable#4

Open
MamziB wants to merge 1 commit intohpc:masterfrom
MamziB:mamzi/rmamt-fix
Open

Fix bw test all_sync variable#4
MamziB wants to merge 1 commit intohpc:masterfrom
MamziB:mamzi/rmamt-fix

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 mbayatpour@nvidia.com
Co-authored-by: Tomislav Janjusic tomislavj@nvidia.com>

Signed-off-by: Mamzi Bayatpour <mbayatpour@nvidia.com>
Co-authored-by: Tomislav Janjusic <tomislavj@nvidia.com>>
@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