MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / insert_module_in_submodule

Function insert_module_in_submodule

src/fuse_reduce.cpp:95–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95static auto
96insert_module_in_submodule(module_ref sm,
97 instruction_ref ins,
98 std::unordered_map<instruction_ref, instruction_ref>* map_ins = nullptr,
99 module::inserter insert = nullptr)
100{
101 assert(ins->module_inputs().size() == 1);
102 return sm->fuse(*ins->module_inputs().front(), ins->inputs(), map_ins, std::move(insert));
103}
104
105static void create_reduce_modules(module_pass_manager& mpm)
106{

Callers 3

applyMethod · 0.85
applyMethod · 0.85
applyMethod · 0.85

Calls 4

frontMethod · 0.80
sizeMethod · 0.45
fuseMethod · 0.45
inputsMethod · 0.45

Tested by

no test coverage detected