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

Method apply

src/layout_convolution.cpp:131–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129} // namespace
130
131void layout_convolution::apply(module_pass_manager& mpm) const
132{
133 preserve_output_layout(mpm.get_module());
134 transform_convolutions(mpm.get_module(), *this);
135 mpm.run_pass(dead_code_elimination{});
136 mpm.run_pass(eliminate_contiguous{"contiguous"});
137 mpm.run_pass(dead_code_elimination{});
138 remove_layout(mpm.get_module());
139 mpm.run_pass(dead_code_elimination{});
140}
141
142} // namespace MIGRAPHX_INLINE_NS
143} // namespace migraphx

Callers

nothing calls this directly

Calls 5

preserve_output_layoutFunction · 0.85
transform_convolutionsFunction · 0.85
remove_layoutFunction · 0.85
get_moduleMethod · 0.80
run_passMethod · 0.45

Tested by

no test coverage detected