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(rdma): use COMM_ID_MASK as invalid id #574

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

@aws-nslick aws-nslick requested a review from a team as a code owner September 4, 2024 20:25
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/20 to master September 4, 2024 20:58
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/22 September 4, 2024 20:59
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/22 to master September 5, 2024 01:17
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/22 September 5, 2024 01:18
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/22 to master September 5, 2024 01:44
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/22 September 5, 2024 01:45
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/22 to master September 5, 2024 01:56
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/22 September 5, 2024 01:56
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/22 to master September 5, 2024 02:03
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/22 September 5, 2024 02:03
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/22 to master September 5, 2024 02:08
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/22 September 14, 2024 22:37
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_MASK as the marker.

stack-info: PR: #574, branch: aws-nslick/stack/21
Signed-off-by: Nicholas Sielicki <[email protected]>
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/22 to master September 17, 2024 20:25
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/22 September 17, 2024 20:26
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 22, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_MASK as the marker.

stack-info: PR: aws#574, branch: aws-nslick/stack/21
Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 22, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_MASK as the marker.

stack-info: PR: aws#574, branch: aws-nslick/stack/21
Signed-off-by: Nicholas Sielicki <[email protected]>
Copy link
Contributor

@bwbarrett bwbarrett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have added a COMM_ID_INVALID that might be the same as COMM_ID_MASK but reduces cognitive load, but this works.

aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 25, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_MASK as the marker.

stack-info: PR: aws#574, branch: aws-nslick/stack/21
Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 25, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_MASK as the marker.

stack-info: PR: aws#574, branch: aws-nslick/stack/21
Signed-off-by: Nicholas Sielicki <[email protected]>
@aws-nslick
Copy link
Contributor Author

I would have added a COMM_ID_INVALID that might be the same as COMM_ID_MASK but reduces cognitive load, but this works.

That is better, I agree. Have made this change locally and will be reposted.

aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 26, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

stack-info: PR: aws#574, branch: aws-nslick/stack/21
Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 26, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

stack-info: PR: aws#574, branch: aws-nslick/stack/21
Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 26, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
@aws-nslick aws-nslick merged commit e65daf3 into aws-nslick/stack/22 Sep 27, 2024
32 of 33 checks passed
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 27, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 27, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 27, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 27, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 28, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 28, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 30, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 30, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 30, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 30, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 30, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Oct 1, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-nslick added a commit that referenced this pull request Oct 1, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
aws-ofiwg-bot pushed a commit to aws-ofiwg-bot/aws-ofi-nccl that referenced this pull request Oct 4, 2024
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_INVALID (defined as COMM_ID_MASK) as the marker.

Signed-off-by: Nicholas Sielicki <[email protected]>
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