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

Method InitAllocators

tensorflow/contrib/verbs/rdma_mgr.cc:259–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259void RdmaMgr::InitAllocators() {
260 static std::once_flag flag;
261 std::call_once(
262 flag, [this]() { RdmaMemoryMgr::Singleton().pd_ = rdma_adapter_->pd_; });
263}
264
265/*static*/ void RdmaMgr::RegMemVisitors() {
266 SubAllocator::Visitor alloc_visitor = [](void* ptr, int numa_node,

Callers 1

StartMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected