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

Method run_ref

test/verify/run_verify.cpp:126–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126std::pair<migraphx::program, std::vector<migraphx::argument>>
127run_verify::run_ref(migraphx::program p,
128 const migraphx::parameter_map& inputs,
129 const migraphx::compile_options& c_opts) const
130{
131 migraphx::target t = migraphx::make_target("ref");
132 auto_print pp{p, t.name()};
133 auto trace_target = migraphx::string_value_of(MIGRAPHX_TRACE_TEST_COMPILE{});
134 compile_check(p, t, c_opts, (trace_target == "ref"));
135 return std::make_pair(std::move(p), p.eval(inputs));
136}
137
138std::pair<migraphx::program, std::vector<migraphx::argument>>
139run_verify::run_target(const migraphx::target& t,

Callers

nothing calls this directly

Calls 5

make_targetFunction · 0.85
compile_checkFunction · 0.85
string_value_ofFunction · 0.50
nameMethod · 0.45
evalMethod · 0.45

Tested by

no test coverage detected