ucx
ucx copied to clipboard
How to use ucp_put_nb?
In the client side, I invoke the following function:
- ucp_put_nb to rdma_write remote addr
- ucp_tag_send_nb to notify remote the previous rdma_write succeed
In the server side, I invoke the following funciton:
- ucp_tag_recv_nb
My question is if In the server side, recv_nb's cb is called, can't I make sure that the ucp_put_nb is finished or in other words The server side can read the data wrote by the client side throught ucp_put_nb?
One more question is whether ucx support rdma_write_with_imme?
waiting for your reponses, tks
Would it not make more sense to use ucp_tag_recv_nb and ucp_tag_send_nb for the message directly? You can use ucp_worker_flush_nbx to make sure the put has finished.