#include "verify_program.hpp" #include #include #include struct gemm_literal : verify_program { migraphx::program create_program() const { migraphx::program p; migraphx::shape a_shape{migraphx::shape::float_type, {2, 4}}; migraphx::shape b_shape{migraphx::shape::float_type, {4, 4}}; auto a = p.add_literal(migraphx::generate_literal(a_shape)); auto b = p.add_parameter("b", b_shape); p.add_instruction(migraphx::op::dot{}, a, b); return p; } };