Skip to content

Commit

Permalink
Some change
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhang93 committed Aug 29, 2024
1 parent bcd725f commit 1d96f8a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions build_tools/ci/print_ir_aie2xclbin/print_ir_aie2xclbin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ ${SOURCE_MLIR_FILE} \
--mlir-print-ir-after-all \
--mlir-print-ir-module-scope \
--mlir-disable-threading \
--iree-amdaie-tile-pipeline=pad-pack \
--iree-amdaie-lower-to-aie-pipeline=air \
-o ${OUTPUT}/test_artefact.vmfb \
--iree-amd-aie-show-invoked-commands"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def AMDAIELoweringStrategy :
)}]>,
Option<"useLowerToAIEPipeline", "use-lower-to-aie-pipeline",
"mlir::iree_compiler::AMDAIE::LowerToAIEPassPipeline",
/*default=*/"mlir::iree_compiler::AMDAIE::LowerToAIEPassPipeline::AIR",
/*default=*/"mlir::iree_compiler::AMDAIE::LowerToAIEPassPipeline::ObjectFifo",
"Lowering pass pipeline to use",
[{::llvm::cl::values(
clEnumValN(mlir::iree_compiler::AMDAIE::LowerToAIEPassPipeline::ObjectFifo, "objectFifo",
Expand Down
2 changes: 1 addition & 1 deletion tests/samples/matmul_elementwise_pack_peel_air_e2e.mlir
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: iree-compile --iree-hal-target-backends=amd-aie --compile-to=executable-sources %s | iree-opt --pass-pipeline="builtin.module(hal.executable(hal.executable.variant(iree-hal-translate-target-executable-variants{target=amd-aie})))" --iree-amdaie-tile-pipeline=pack-peel --iree-amdaie-lower-to-aie-pipeline=air --iree-amdaie-matmul-elementwise-fusion --split-input-file | FileCheck %s
// RUN: iree-compile --iree-hal-target-backends=amd-aie --compile-to=executable-sources %s | iree-opt --pass-pipeline="builtin.module(hal.executable(hal.executable.variant(iree-hal-translate-target-executable-variants{target=amd-aie})))" --iree-amdaie-lower-to-aie-pipeline=air --iree-amdaie-tile-pipeline=pack-peel --iree-amdaie-matmul-elementwise-fusion --split-input-file | FileCheck %s

func.func @matmul_elementwise_i32(%lhs: tensor<1024x512xi32>, %rhs: tensor<512x1024xi32>, %ele: tensor<1024x1024xi32>) -> tensor<1024x1024xi32>
{
Expand Down
2 changes: 1 addition & 1 deletion tests/samples/matmul_pack_peel_air_e2e.mlir
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: iree-compile --iree-hal-target-backends=amd-aie --compile-to=executable-sources %s | iree-opt --pass-pipeline="builtin.module(hal.executable(hal.executable.variant(iree-hal-translate-target-executable-variants{target=amd-aie})))" --iree-amdaie-tile-pipeline=pack-peel --iree-amdaie-lower-to-aie-pipeline=air --split-input-file | FileCheck %s
// RUN: iree-compile --iree-hal-target-backends=amd-aie --compile-to=executable-sources %s | iree-opt --pass-pipeline="builtin.module(hal.executable(hal.executable.variant(iree-hal-translate-target-executable-variants{target=amd-aie})))" --iree-amdaie-lower-to-aie-pipeline=air --iree-amdaie-tile-pipeline=pack-peel --split-input-file | FileCheck %s

func.func @matmul_i8_i32(%lhs: tensor<32x16xi8>, %rhs: tensor<16x32xi8>) -> tensor<32x32xi32>
{
Expand Down

0 comments on commit 1d96f8a

Please sign in to comment.