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(tree): add fallthrough switch markers #585

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

@aws-nslick aws-nslick requested a review from a team as a code owner September 11, 2024 21:25
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/21 to master September 11, 2024 23:12
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/21 September 11, 2024 23:13
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/21 to master September 12, 2024 00:17
Signed-off-by: Nicholas Sielicki <[email protected]>

stack-info: PR: #585, branch: aws-nslick/stack/27
@aws-nslick aws-nslick changed the base branch from aws-nslick/stack/21 to master September 17, 2024 20:25
@aws-nslick aws-nslick changed the base branch from master to aws-nslick/stack/21 September 17, 2024 20:26
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 22, 2024
Signed-off-by: Nicholas Sielicki <[email protected]>

stack-info: PR: aws#585, branch: aws-nslick/stack/27
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 22, 2024
Signed-off-by: Nicholas Sielicki <[email protected]>

stack-info: PR: aws#585, branch: aws-nslick/stack/27
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 25, 2024
Signed-off-by: Nicholas Sielicki <[email protected]>

stack-info: PR: aws#585, branch: aws-nslick/stack/27
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
Signed-off-by: Nicholas Sielicki <[email protected]>

stack-info: PR: aws#585, branch: aws-nslick/stack/27
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
Signed-off-by: Nicholas Sielicki <[email protected]>

stack-info: PR: aws#585, branch: aws-nslick/stack/27
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
Signed-off-by: Nicholas Sielicki <[email protected]>

stack-info: PR: aws#585, branch: aws-nslick/stack/27
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
@aws-nslick aws-nslick merged commit ff446b7 into aws-nslick/stack/21 Sep 27, 2024
26 of 31 checks passed
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 27, 2024
@aws-nslick aws-nslick deleted the aws-nslick/stack/27 branch September 27, 2024 00:55
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 27, 2024
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 27, 2024
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 28, 2024
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 28, 2024
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 30, 2024
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 30, 2024
@aws-nslick
Copy link
Contributor Author

On the top PR, this was amended to use the following macro instead:

#if __has_attribute(__fallthrough__)
# define fallthrough                    __attribute__((__fallthrough__))
#else
# define fallthrough                    do {} while (0)  /* fallthrough */
#endif

Only GCC accepts the comments, clang requires the attribute. GCC also has the attribute. Prefer the attribute if possible, otherwise, use the comment.

aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 30, 2024
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 30, 2024
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Sep 30, 2024
aws-nslick added a commit to aws-nslick/nccl-net-ofi that referenced this pull request Oct 1, 2024
aws-nslick added a commit that referenced this pull request Oct 1, 2024
aws-ofiwg-bot pushed a commit to aws-ofiwg-bot/aws-ofi-nccl that referenced this pull request Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants