-
Notifications
You must be signed in to change notification settings - Fork 901
osc/rdma: fix datatype extent usage in ompi_osc_rdma_rget_accumulate_… #3572
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
osc/rdma: fix datatype extent usage in ompi_osc_rdma_rget_accumulate_… #3572
Conversation
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.
I'd really like to see the "why" for this change, either in a comment in the code or in the description of the commit. "Fix datatype extent usage" isn't really helpful to the next developer. What's the fix and what was broken?
I think it would be much more clear if you renamed extent to origin_extent and target_extent through the function; it's a subtle change you should highlight more.
9be9094
to
693fa18
Compare
@bwbarrett fair enough, i updated both the patch and commit message |
The IBM CI (GNU Compiler) build failed! Please review the log, linked below. Gist: https://gist.github.com/ca23fd28bf3b17c00d42663723c42860 |
The IBM CI (XL Compiler) build failed! Please review the log, linked below. Gist: https://gist.github.com/e0a7590976439674086250d53cd264de |
The IBM CI (PGI Compiler) build failed! Please review the log, linked below. Gist: https://gist.github.com/223798cfbdf6845fb92c8d56848e9d0d |
693fa18
to
23b9b24
Compare
:bot:mellanox:retest |
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.
typo in your commit message. Should be "use either origin_extent or target_extent" ("or" instead of "of")
…t_accumulate_internal() origin_datatype and target_datatype might be different and hence have different extent, so use either origin_extent or target_extent when appropriate. Refs open-mpi#3569 Signed-off-by: Gilles Gouaillardet <[email protected]>
23b9b24
to
0f79259
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.
Thanks for catching this typo.
Please PR to v3.0, v2.x, and v2.0.x. |
…internal()
Refs #3569
Signed-off-by: Gilles Gouaillardet [email protected]