-
Notifications
You must be signed in to change notification settings - Fork 859
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coll/han/alltoallv: Fix logic around waitany
The logic for waitany was flawed. While we could wait for either a send or a receive, we cannot consume receives in any order, and likewise for sends. Fix this by simply ping-ponging between waiting for sends or receives and cycling when there is nothing to wait on. Signed-off-by: Luke Robison <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters