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

Add macro for channel mask offset #1467

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

Conversation

mustafabar
Copy link
Contributor

Details

The indexing logic for send/recv channel masks is repeated and any change would have to be propagated in many places

Work item: "Internal", or link to GitHub issue (if applicable).

What were the changes?
Put repeated indexing code in macro

Why were the changes made?
Improve maintenance

How was the outcome achieved?
N/A

Additional Documentation:
N/A

Approval Checklist

Do not approve until these items are satisfied.

  • Verify the CHANGELOG has been updated, if
    • there are any NCCL API version changes,
    • any changes impact library users, and/or
    • any changes impact any other ROCm library.

@corey-derochie-amd
Copy link
Collaborator

corey-derochie-amd commented Dec 17, 2024

Is this NCCL code? If so, this could create future NCCL sync merge conflicts.

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