MCPcopy Create free account
hub / github.com/catboost/catboost / PostReceive

Method PostReceive

library/cpp/netliba/v12/ib_low.h:271–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269 return SRQ;
270 }
271 void PostReceive(TPtrArg<TMemoryRegion> mem, ui64 id, const void* buf, size_t len) {
272 Y_ASSERT(mem->IsCovered(buf, len));
273 ibv_recv_wr wr, *bad;
274 ibv_sge sg;
275 sg.addr = reinterpret_cast<ui64>(buf) / sizeof(char);
276 sg.length = len;
277 sg.lkey = mem->GetLKey();
278 Zero(wr);
279 wr.wr_id = id;
280 wr.sg_list = &sg;
281 wr.num_sge = 1;
282 CHECK_Z(ibv_post_srq_recv(SRQ, &wr, &bad));
283 }
284 };
285
286 inline void MakeAH(ibv_ah_attr* res, TPtrArg<TIBPort> port, int lid, int serviceLevel) {

Callers 2

PostRecvMethod · 0.45
PostRecvMethod · 0.45

Calls 4

ZeroFunction · 0.85
ibv_post_srq_recvFunction · 0.85
IsCoveredMethod · 0.45
GetLKeyMethod · 0.45

Tested by

no test coverage detected