MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / GroupClientProxy

Method GroupClientProxy

src/opr-mm/impl/mm_handler.cpp:158–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 mgb_assert(rsp.ParseFromArray(recv.data(), recv.size()));
157
158GroupClientProxy::GroupClientProxy(const std::string& server_addr)
159 : m_addr(server_addr),
160 m_stub{ZmqRpc::ZmqRpcClient::get_client("tcp://" + server_addr)} {}
161
162GroupManager::RegisterInfo GroupClientProxy::opr_register(
163 const std::string& key, size_t nr_devices, bool is_root, int rank,

Callers

nothing calls this directly

Calls 1

get_clientFunction · 0.85

Tested by

no test coverage detected