Skip to content
Discussion options

You must be logged in to vote

@youtive10 Thanks for the context!
Yes you're absolutely right. All your accesses to the atomic need to use the same mechanism
If you want to target the RDMA CAS directly, then I think you're going to have to open a separate connection for the local access to the variable, unfortunately.
If it's an option for you, you could use an RDM endpoint instead and use RxM to manage your atomics. RxM uses CPU atomics to simulate the CAS with the underlying provider so the remote and local access mechanisms would be aligned in that case.
https://github.com/ofiwg/libfabric/blob/main/prov/rxm/src/rxm_cq.c#L1154

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@youtive10
Comment options

Comment options

You must be logged in to vote
1 reply
@youtive10
Comment options

Answer selected by youtive10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants