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

src: Fix bug in SHMEM_DEF_TEST_ALL #1113

Merged

Conversation

philipmarshall21
Copy link
Collaborator

Currently the shmem_test_all API does not account for elements that are suppose to be ignored (as set by the status argument) when determining the return value.

Copy link
Member

@davidozog davidozog left a comment

Choose a reason for hiding this comment

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

Very good catch @philipmarshall21! This is my bone-headed mistake I think.

Can you please check shmem_test_all_vector I think this bug is there as well.

Copy link
Member

@davidozog davidozog left a comment

Choose a reason for hiding this comment

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

Copy link
Collaborator

@wrrobin wrrobin left a comment

Choose a reason for hiding this comment

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

@philipmarshall21 - This one looks good. Please feel free to merge.

Regarding changes to the other APIs, I am not quite sure if that is applicable. Lets defer that to a later PR any way.

@philipmarshall21 philipmarshall21 merged commit 98837b5 into Sandia-OpenSHMEM:main Mar 1, 2024
35 checks passed
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.

3 participants