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

Method reset_opr_seq

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

Source from the content-addressed store, hash-verified

744}
745
746void VarNodeMemManager::reset_opr_seq(
747 CompSeqExtraInfo& extra_info, const OprNodeArray* seq) {
748 auto run_id_ptr = static_cast<ComputingGraphImpl::ComputingSequence*>(
749 m_owner_graph->current_comp_seq())
750 ->get_run_id_ptr();
751 m_dynamic_alloc_opr_info.clear();
752 reset_opr_seq_no_clear_dyn_alloc_info(extra_info, seq, run_id_ptr);
753}
754
755void VarNodeMemManager::reset_opr_seq_no_clear_dyn_alloc_info(
756 CompSeqExtraInfo& extra_info, const OprNodeArray* seq,

Callers 2

init_sys_alloc_infoMethod · 0.45
compile_commitMethod · 0.45

Calls 3

get_run_id_ptrMethod · 0.80
current_comp_seqMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected