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

ch4: Fix recv side free cell allocation #6834

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

yfguo
Copy link
Contributor

@yfguo yfguo commented Dec 5, 2023

Pull Request Description

Receiver side free cell allocation does not working due to:

  1. MPMC dequeue not exit on success
  2. trying to using global rank of receiver at allocation

This PR fixes both of them and adds a test to make sure the functionality is at least tested.

Author Checklist

  • Provide Description
    Particularly focus on why, not what. Reference background, issues, test failures, xfail entries, etc.
  • Commits Follow Good Practice
    Commits are self-contained and do not do two things at once.
    Commit message is of the form: module: short description
    Commit message explains what's in the commit.
  • Passes All Tests
    Whitespace checker. Warnings test. Additional tests via comments.
  • Contribution Agreement
    For non-Argonne authors, check contribution agreement.
    If necessary, request an explicit comment from your companies PR approval manager.

Need to use local rank instead of global rank (grank) when
allocating free cell from receiver side.
MPMC dequeue missed a break statement for successful dequeue.
Prefer 4 processes for the test to stress all case.
@yfguo
Copy link
Contributor Author

yfguo commented Dec 5, 2023

test:mpich/ch4/ofi

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.

None yet

1 participant