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

Method clear

src/core/impl/graph/normal_exec_env.cpp:157–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void NormalExecEnv::clear() {
158 for (auto&& i : m_worker_task_queue)
159 i.second.clear();
160 m_sync_task_queue.clear();
161 m_cur_active_opr = nullptr;
162 MGB_IF_COND_EXEC(m_has_exec_mask = false);
163}
164
165// vim: syntax=cpp.doxygen foldmethod=marker foldmarker=f{{{,f}}}

Callers 15

on_comp_node_finalizeMethod · 0.45
update_out_specsMethod · 0.45
concat_and_prepareMethod · 0.45
on_comp_node_finalizeMethod · 0.45
init_for_execMethod · 0.45
init_waiting_specMethod · 0.45
eager_eval.cppFile · 0.45
init_seqMethod · 0.45
split_into_cn2oprseqMethod · 0.45
restore_graph_optionMethod · 0.45
clear_tracked_oprsMethod · 0.45
clean_cacheMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected