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

Function enable_pass

src/pass.cpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35};
36
37pass enable_pass(bool enabled, pass p)
38{
39 if(enabled)
40 return p;
41 return id_pass{};
42}
43
44} // namespace MIGRAPHX_INLINE_NS
45} // namespace migraphx

Callers 1

get_passesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected