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

Method execute_on_comp_node

src/opr/impl/muxing.cpp:176–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174 }
175
176 void execute_on_comp_node(const CompNode& comp_node) {
177 for (auto&& state : m_var_state) {
178 auto s0 = state.front().get();
179 if (s0->var->comp_node() == comp_node)
180 s0->set_ready();
181 }
182 for (auto&& instr : m_copy_instr.at(comp_node)) {
183 instr.execute();
184 }
185 }
186};
187
188void AllGather::get_output_var_shape(

Callers 1

do_executeMethod · 0.80

Calls 6

frontMethod · 0.80
set_readyMethod · 0.80
getMethod · 0.45
comp_nodeMethod · 0.45
atMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected