Skip to content

Conversation

@xinzhao3
Copy link
Contributor

In a CSWAP(prev, cond, value) operation, 'prev' returns the previous value on target side, 'cond' is condition value, and 'value' contains value to be swapped to the target. CSWAP operation should not change 'value'. Originally mca/atomic/mxm changes content of 'value' buffer with 'prev' value, which is not correct. This PR fixes this issue.

Signed-off-by: Xin Zhao xinz@mellanox.com

Signed-off-by: Xin Zhao <xinz@mellanox.com>
@xinzhao3
Copy link
Contributor Author

@jladd-mlnx @bureddy

@bureddy
Copy link
Member

bureddy commented Mar 30, 2018

👍

@jsquyres
Copy link
Member

bot:ompi:retest

@open-mpi open-mpi deleted a comment from ibm-ompi Apr 2, 2018
@bwbarrett
Copy link
Member

bot:ompi:retest

Brian broke the 32bit builds...

@jjhursey
Copy link
Member

jjhursey commented Apr 2, 2018

bot:ibm:retest

@hppritcha
Copy link
Member

bot:ompi:retest
ubuntu unhappy for some reason not related to this PR

@jladd-mlnx jladd-mlnx merged commit 15d5e29 into open-mpi:master Apr 4, 2018
@jladd-mlnx
Copy link
Member

@xinzhao3 please open PRs againsts 3.1.x and 3.0.x branches.

@xinzhao3 xinzhao3 deleted the topic/shmem-cswap branch April 23, 2018 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants