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

Method execute

src/opr/impl/muxing.cpp:58–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 CopyInstr() = default;
57
58 void execute() {
59 src->wait_ready();
60 if (cross_cn) {
61 dst->var->comp_node().device_wait_event(*src->cn_ready_event);
62 }
63 dst->var->dev_tensor().sub(dst_sub).copy_from_fixlayout(
64 src->var->dev_tensor().sub(src_sub));
65 dst->set_ready();
66 }
67 };
68
69 AllGather* m_par_opr;

Callers 1

execute_on_comp_nodeMethod · 0.45

Calls 7

wait_readyMethod · 0.80
device_wait_eventMethod · 0.80
copy_from_fixlayoutMethod · 0.80
set_readyMethod · 0.80
comp_nodeMethod · 0.45
subMethod · 0.45
dev_tensorMethod · 0.45

Tested by

no test coverage detected