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

Method FindChannel

tensorflow/contrib/verbs/rdma_mgr.cc:195–199  ·  view source on GitHub ↗

Find a channel via the given name. Args: name: peer name, e.g. worker1 Returns channel object that is connected to the named peer.

Source from the content-addressed store, hash-verified

193// Returns
194// channel object that is connected to the named peer.
195RdmaChannel* RdmaMgr::FindChannel(const string& name) {
196 ChannelTable::iterator iter = channel_table_.find(name);
197 CHECK(iter != channel_table_.end());
198 return iter->second;
199}
200
201bool IsGDRAvailable() {
202#if defined(__APPLE__)

Callers 2

RecvFromRemoteAsyncMethod · 0.80
GetRemoteAddressSyncMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected