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

Function test_gemm

src/driver/models.cpp:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31inline namespace MIGRAPHX_INLINE_NS {
32
33migraphx::program test_gemm()
34{
35 migraphx::program p;
36 auto* mm = p.get_main_module();
37 auto a = mm->add_parameter("a", migraphx::shape{migraphx::shape::float_type, {4, 5}});
38 auto b = mm->add_parameter("b", migraphx::shape{migraphx::shape::float_type, {5, 3}});
39 mm->add_instruction(migraphx::make_op("dot"), a, b);
40 return p;
41}
42
43} // namespace MIGRAPHX_INLINE_NS
44} // namespace driver

Callers 1

loadMethod · 0.70

Calls 4

get_main_moduleMethod · 0.80
add_parameterMethod · 0.80
make_opFunction · 0.50
add_instructionMethod · 0.45

Tested by

no test coverage detected