Skip to content

Commit

Permalink
Limit hip gemm pointwise fusion to hip_gemm
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsan-ca committed Dec 10, 2024
1 parent 64fe0c5 commit 0a711d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/targets/gpu/fuse_ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,9 @@ struct find_hipblas_gemm_pointwise : gemm_pointwise

auto gemm_op = any_cast<hipblaslt_op>(gemm_ins->get_operator()).op;

if(gemm_op.name() != "gpu::hip_gemm")
return;

auto gemm = any_cast<hip_gemm<op::dot>>(gemm_op);

// Already fused gemm
Expand Down

0 comments on commit 0a711d4

Please sign in to comment.