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

Method UpdateTensorResponse

tensorflow/contrib/verbs/rdma.cc:981–988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

979}
980
981RdmaTensorResponse* RdmaChannel::UpdateTensorResponse(const RdmaMessage& rm) {
982 mutex_lock lock{mu_};
983 auto it = responses_table_.find(rm.request_index_);
984 CHECK(it != responses_table_.end()) << "No response found.";
985 RdmaTensorResponse* response = &it->second;
986 response->Update(rm);
987 return response;
988}
989
990void RdmaChannel::RemoveTensorResponse(uint32_t request_index) {
991 mutex_lock lock{mu_};

Callers 1

Process_CQMethod · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45
UpdateMethod · 0.45

Tested by

no test coverage detected