Skip to content

When the data(parameter in am_recv_callback) will be freed or marked resuable? #7012

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

You must be logged in to vote

UcxContext::am_recv_callback function is part of io_demo test application, not UCX core library. For documentation of active messages API, please see https://github.com/openucx/ucx/blob/master/src/ucp/api/ucp_def.h#L669 - the "void *data" will be released according to the return value of the active message callback.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by shamisp
Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

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

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