MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / AddTensorResponse

Method AddTensorResponse

tensorflow/contrib/verbs/rdma.cc:972–979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

970#endif // GOOGLE_CUDA
971
972RdmaTensorResponse* RdmaChannel::AddTensorResponse(const RdmaMessage& rm) {
973 mutex_lock lock{mu_};
974 auto it =
975 responses_table_.emplace(rm.request_index_, RdmaTensorResponse(this, rm));
976 CHECK(it.second) << "Response with the ID " << rm.request_index_
977 << " already exists.";
978 return &it.first->second;
979}
980
981RdmaTensorResponse* RdmaChannel::UpdateTensorResponse(const RdmaMessage& rm) {
982 mutex_lock lock{mu_};

Callers 1

Process_CQMethod · 0.80

Calls 2

RdmaTensorResponseClass · 0.85
emplaceMethod · 0.45

Tested by

no test coverage detected