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

Method update

dnn/test/common/memory_manager.cpp:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void MemoryManagerHolder::update(
54 Handle* handle, std::unique_ptr<MemoryManager> memory_manager) {
55 std::lock_guard<std::mutex> lock(m_map_mutex);
56 m_map[handle] = std::move(memory_manager);
57}
58
59void MemoryManagerHolder::clear() {
60 std::lock_guard<std::mutex> lock(m_map_mutex);

Callers 15

execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45
execMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected