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

Method exec_exit

src/core/impl/graph/var_node_mem_mgr.cpp:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void StaticDeviceMemoryManager::exec_exit() {
43 mgb_assert(m_in_exec.test_and_set());
44 m_in_exec.clear();
45}
46
47const DeviceTensorStorage& StaticDeviceMemoryManager::alloc(
48 ComputingGraph* graph, CompNode cn, size_t size, size_t cur_version) {

Callers 1

ExecContextMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected