Skip to content

Why eager mode need memcpy on receiver side? #7243

Answered by yosefe
haipeng31 asked this question in Q&A
Discussion options

You must be logged in to vote

eager mode is modeled after MPI tag-matching semantics, where the data has to arrive to a specific buffer according to the tag.
on other hand, with UCP active message API, it's possible to access the data directly from the callback without copy:
https://openucx.readthedocs.io/en/master/api.html#_CPPv417ucp_am_callback_t

Replies: 1 comment 1 reply

Comment options

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

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