-
Notifications
You must be signed in to change notification settings - Fork 53
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
Teams: allow split stride of zero iff size is 1 #1136
Teams: allow split stride of zero iff size is 1 #1136
Conversation
d2e38a9
to
28b6361
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Minor change to update team->stride to 0 when PE_stride is ignored with PE-size = 1 can be done.
Also, if split size is 1, internally set stride to 0
906c224
to
e61852e
Compare
@wrrobin @philipmarshall21 - I reverted the zero-stride checks across collectives (998f7c9) by forcing (Also this updates the SOS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. So, internally, we are not allowing stride to be 0. Perhaps, we should discuss if we need to revisit this in OpenSHMEM.
Yes, agreed. Fortunately I think the spec is arguably well-defined if the following is true: I've also drafted a change here that should help clarify this in the spec: I will propose it for v1.6 if there's enough time... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR allows team split operations to have a stride of zero if and only if the new team size is 1.