-
Notifications
You must be signed in to change notification settings - Fork 4
OMPI: Notified-OSC-SM Operations #8
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
Conversation
|
Hello! The Git Commit Checker CI bot found a few problems with this PR: 58c4c26: Notified osc SM
Please fix these problems and, if necessary, force-push new commits back up to the PR branch. Thanks! |
This commit adds notification support to the OSC SM component by implementing the put_with_notify, get_with_notify, rput_with_notify, and rget_with_notify functions. These functions perform the same operations as their non-notify counterparts but also increment notification counters after the data transfer completes. The changes include: - Added function pointer types for notify variants in osc.h - Added function prototypes in osc_sm.h - Implemented the notify functions in osc_sm_comm.c - Updated the module template to register the new functions - Removed TODO comments that have been addressed Signed-off-by: Joseph Antony <jajoseph.antony18@gmail.com>
58c4c26 to
0f9a9ac
Compare
devreal
left a comment
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.
Looks good, please fix the indentation and add the sign-off
ompi/mca/osc/sm/osc_sm_comm.c
Outdated
| int notify, | ||
| struct ompi_win_t *win) | ||
| { | ||
| int ret; |
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.
Nitpick: indentation is off in this function
ompi/mca/osc/sm/osc_sm_comm.c
Outdated
| origin_addr, origin_count, origin_dt); | ||
| // TODO: do the same for put_with_notify | ||
| if (OMPI_SUCCESS != ret) { | ||
| return ret; |
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.
Nitpick: indentation is off here
ompi/mca/osc/sm/osc_sm_comm.c
Outdated
|
|
||
| return OMPI_SUCCESS;; | ||
| } | ||
| } |
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.
Please revert the change removing the newline at the end
Signed-off-by: Joseph Antony <jajoseph.antony18@gmail.com>
devreal
left a comment
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!
Add notification support for put/get operations:
Adds notification support to the OSC SM component by
implementing the put_with_notify, get_with_notify, rput_with_notify,
and rget_with_notify functions. These functions perform the same
operations as their non-notify counterparts but also increment
notification counters after the data transfer completes.
The changes include: