Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
void 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_memshare
Function · 0.45
init_oprs_to_dump
Method · 0.45
build_single_opr
Method · 0.45
dump
Method · 0.45
graph_compile_ahead
Method · 0.45
init_oprs_to_dump
Method · 0.45
build_single_opr
Method · 0.45
dump
Method · 0.45
apply
Method · 0.45
recorded_serialized_oprs
Method · 0.45
on_comp_seq_determined
Method · 0.45
on_comp_seq_finished
Method · 0.45
Calls
no outgoing calls
Tested by
5
test_serializer_memshare
Function · 0.36
test_hash_map
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36