static void ucp_rndv_rma_request_send_buffer_dereg(ucp_request_t *sreq) { if ((UCP_DT_IS_CONTIG(sreq->send.datatype)) && (ucp_ep_is_rndv_lane_present(sreq->send.ep))) { ucp_request_send_buffer_dereg(sreq, ucp_ep_get_rndv_get_lane(sreq->send.ep)); } }
void ucp_tag_eager_sync_zcopy_req_complete(ucp_request_t *req, ucs_status_t status) { if (req->send.state.dt.offset == req->send.length) { ucp_request_send_buffer_dereg(req); /* TODO register+lane change */ ucp_tag_eager_sync_completion(req, UCP_REQUEST_FLAG_LOCAL_COMPLETED, status); } else if (status != UCS_OK) { ucs_fatal("error handling is not supported with tag-sync protocol"); } }
static inline void ucp_tag_eager_sync_contig_zcopy_req_complete(ucp_request_t *req) { ucp_request_send_buffer_dereg(req, UCP_EP_OP_AM); ucp_tag_eager_sync_completion(req, UCP_REQUEST_FLAG_LOCAL_COMPLETED); }
static void ucp_tag_eager_contig_zcopy_req_complete(ucp_request_t *req) { ucp_request_send_buffer_dereg(req, UCP_EP_OP_AM); ucp_request_complete(req, req->cb.send, UCS_OK); }
void ucp_tag_eager_sync_zcopy_req_complete(ucp_request_t *req) { ucp_request_send_buffer_dereg(req, req->send.lane); /* TODO register+lane change */ ucp_tag_eager_sync_completion(req, UCP_REQUEST_FLAG_LOCAL_COMPLETED); }
void ucp_tag_eager_zcopy_req_complete(ucp_request_t *req) { ucp_request_send_buffer_dereg(req, req->send.lane); /* TODO register+lane change */ ucp_request_complete_send(req, UCS_OK); }