Skip to content

Commit

Permalink
[examples] Fix next-mhsa-qkv-fusion-vec-run target.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghb97 committed Dec 23, 2024
1 parent b3e34de commit ab92e97
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/BuddyNext/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -493,11 +493,12 @@ next-mhsa-qkv-parallel-vec-run:
next-mhsa-qkv-fusion-lower:
@${MLIR_OPT} ./next-mhsa-qkv-fusion.mlir \
-pass-pipeline "builtin.module(func.func(tosa-to-linalg-named),func.func(tosa-to-linalg),func.func(tosa-to-tensor),func.func(tosa-to-arith))" | \
${MLIR_OPT} \
${BUDDY_OPT} \
-arith-expand \
-eliminate-empty-tensors \
-empty-tensor-to-alloc-tensor \
-one-shot-bufferize \
-one-shot-bufferize="bufferize-function-boundaries=1 function-boundary-type-conversion=identity-layout-map" \
-matmul-transpose-b-vectorization \
-o log.mlir

next-mhsa-qkv-fusion-run:
Expand Down Expand Up @@ -540,7 +541,7 @@ next-mhsa-qkv-fusion-vec-run:
-arith-expand \
-eliminate-empty-tensors \
-empty-tensor-to-alloc-tensor \
-one-shot-bufferize \
-one-shot-bufferize="bufferize-function-boundaries=1 function-boundary-type-conversion=identity-layout-map" \
-matmul-transpose-b-vectorization \
-convert-linalg-to-affine-loops \
-affine-loop-fusion \
Expand Down

0 comments on commit ab92e97

Please sign in to comment.