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

Method clear

src/core/impl/utils/mempool.cpp:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void MemPoolStorage::clear() {
55 m_cur_buf_pos = m_cur_buf_size_bytes = 0;
56 m_buf.clear();
57 m_free.clear();
58}
59
60// vim: syntax=cpp.doxygen foldmethod=marker foldmarker=f{{{,f}}}

Callers 15

test_serializer_memshareFunction · 0.45
init_oprs_to_dumpMethod · 0.45
build_single_oprMethod · 0.45
dumpMethod · 0.45
graph_compile_aheadMethod · 0.45
init_oprs_to_dumpMethod · 0.45
build_single_oprMethod · 0.45
dumpMethod · 0.45
applyMethod · 0.45
on_comp_seq_finishedMethod · 0.45

Calls

no outgoing calls

Tested by 5

test_serializer_memshareFunction · 0.36
test_hash_mapFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36