MCPcopy Create free account
hub / github.com/aws/aws-ofi-nccl / decrease_rx_buff_cnt

Method decrease_rx_buff_cnt

src/nccl_ofi_rdma.cpp:836–846  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834
835
836int nccl_net_ofi_rdma_ep_t::decrease_rx_buff_cnt(nccl_net_ofi_rdma_ep_rail_t *rail)
837{
838 nccl_net_ofi_mutex_lock(&rail->rx_buff_mutex);
839
840 assert(rail->num_rx_buff_posted > 0);
841 rail->num_rx_buff_posted--;
842
843 nccl_net_ofi_mutex_unlock(&rail->rx_buff_mutex);
844
845 return this->check_post_rx_buffers_rail(rail);
846}
847
848static inline int free_eager_copy_req(nccl_net_ofi_rdma_req *req, bool dec_inflight_reqs)
849{

Callers 1

handle_eager_recvMethod · 0.80

Calls 1

Tested by

no test coverage detected