shmem_transport_get expects registered target buffer while shmem_get does not? #1161
-
Not sure if this is the right place to ask. But I was very curious about the implementation details of this repository, so I decided to give it a try anyway. As I was reading through the repo, I saw that the definitions of all Any answer would be greatly appreciated. Thanks in advanced! In data_c.c4,
In shmem_comm.h,
Finally in transport_ofi.h,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
It seems like a great place to me to ask such a question. Thanks for starting the first "discussion" for SOS on Github!
For
Anyway, the short answer is that local In some more detail, there are recent changes here to better support GPU buffers (specifically, with providers that set By the way, this is where the remote address registration (corresponding to
On a similar note, perhaps we should rename the Does that help? |
Beta Was this translation helpful? Give feedback.
It seems like a great place to me to ask such a question. Thanks for starting the first "discussion" for SOS on Github!
For
shmem_get
and the other "Get" routines, thetarget
buffer in SOS actually corresponds to thedest
argument, which can be arbitrary. It's thesource
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 thesource
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…