Skip to content

shmem_transport_get expects registered target buffer while shmem_get does not? #1161

Answered by davidozog
zhongchen530 asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure if this is the right place to ask.

It seems like a great place to me to ask such a question. Thanks for starting the first "discussion" for SOS on Github!

It is clear from the specification that the target buffer of shmem_get should be arbitrary.

For shmem_get and the other "Get" routines, the target buffer in SOS actually corresponds to the dest argument, which can be arbitrary. It's the source buffer which needs to be remotely accessible (i.e., in the symmetric heap or data segment). This is a bit confusing because some might think of the source buffer for "Get" as the "target" of an RMA operation.. but SOS code isn't written that way - the "target" is where the result of t…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@zhongchen530
Comment options

@zhongchen530
Comment options

@davidozog
Comment options

@zhongchen530
Comment options

Answer selected by davidozog
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