-
Notifications
You must be signed in to change notification settings - Fork 937
OSHMEM/ATOMICS: added C implementation of and/or/xor ops #5392
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
|
The IBM CI (GNU Compiler) build failed! Please review the log, linked below. Gist: https://gist.github.com/00e377d6d3e9eadd0335fafa54332edb |
|
The IBM CI (XL Compiler) build failed! Please review the log, linked below. Gist: https://gist.github.com/3b271624c46b11d23941c8e99caf072e |
|
The IBM CI (PGI Compiler) build failed! Please review the log, linked below. Gist: https://gist.github.com/9e930eecace3705c840ee5049bdd4dfe |
- added implementation and/or/xor operations for post and fetch-op notations - implemented basic and UCX transports, mxm added NON-IMPLEMENTED wrapper - updated C interfaces only (fortran will be added later) - existing API is not updated to spec v1.4 Signed-off-by: Sergey Oblomov <[email protected]>
f2c5f75 to
64212a9
Compare
|
bot:retest |
|
@brminich could you review? |
oshmem/mca/atomic/atomic.h
Outdated
| pe)); \ | ||
| RUNTIME_CHECK_RC(rc); \ | ||
| \ | ||
| return ; \ |
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.
minor: extra whitespace after return
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.
removed
oshmem/shmem/c/shmem_and.c
Outdated
|
|
||
| /* | ||
| * These routines perform an atomic 'and' operation. | ||
| * The atomic 'and' routines cwoperates 'and' value to the data at address target on PE pe. |
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.
cwoperates?
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.
fixed
oshmem/shmem/c/shmem_for.c
Outdated
| * These routines perform an atomic fetch-and-or operation. | ||
| * The fetch and or routines retrieve the value at address target on PE pe, and update | ||
| * target with the result of 'or' operation value to the retrieved value. The operation | ||
| * must be completed * without the possibility of another process updating target between |
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.
extra *
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.
removed
oshmem/shmem/c/shmem_fxor.c
Outdated
| * These routines perform an atomic fetch-and-xor operation. | ||
| * The fetch and xor routines retrieve the value at address target on PE pe, and update | ||
| * target with the result of 'xor' operation value to the retrieved value. The operation | ||
| * must be completed * without the possibility of another process updating target between |
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.
extra *
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.
removed
oshmem/shmem/c/shmem_or.c
Outdated
|
|
||
| /* | ||
| * These routines perform an atomic 'or' operation. | ||
| * The atomic 'or' routines cwoperates 'or' value to the data at address target on PE pe. |
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.
cwoperates?
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.
fixed
oshmem/shmem/c/shmem_xor.c
Outdated
|
|
||
| /* | ||
| * These routines perform an atomic 'xor' operation. | ||
| * The atomic 'xor' routines cwoperates 'xor' value to the data at address target on PE pe. |
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.
cwoperates?
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.
fixed
Signed-off-by: Sergey Oblomov <[email protected]>
|
bot:retest |
2 similar comments
|
bot:retest |
|
bot:retest |
|
@yosefe could you look? |
|
@brminich all comments are addressed |
fetch-op notations
NON-IMPLEMENTED wrapper
Signed-off-by: Sergey Oblomov [email protected]