Skip to content

Commit

Permalink
Update fuse gemm test to use get_compute_fp32_flag() function
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsan-ca committed Jan 3, 2025
1 parent 13159b3 commit 4e693ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/gpu/fuse_gemm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ TEST_CASE(gemm_pointwise_add)
else
{
auto gemm_oper =
migraphx::make_op("gpu::gemm", {{"alpha", 1}, {"beta", 1}, {"compute_fp32", 1}});
migraphx::make_op("gpu::gemm",
{{"alpha", 1},
{"beta", 1},
{"compute_fp32", migraphx::gpu::get_compute_fp32_flag()}});
auto add = mm->add_instruction(gemm_oper, a, b, x, output);
mm->add_return({add});
}
Expand Down

0 comments on commit 4e693ba

Please sign in to comment.