From 21806ec70c30f1d40c65a0b40b6ce19ac3ca51df Mon Sep 17 00:00:00 2001 From: yzhang93 Date: Thu, 29 Aug 2024 18:22:56 -0700 Subject: [PATCH] Fix ci tests --- build_tools/ci/build_test_cpp.sh | 2 +- build_tools/ci/print_ir_aie2xclbin/print_ir_aie2xclbin.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build_tools/ci/build_test_cpp.sh b/build_tools/ci/build_test_cpp.sh index 38c98ca9d..0382601aa 100644 --- a/build_tools/ci/build_test_cpp.sh +++ b/build_tools/ci/build_test_cpp.sh @@ -112,7 +112,7 @@ echo "-----" if [[ "$OSTYPE" == "linux-gnu"* ]]; then ctest --test-dir "$build_dir" -R amd-aie --output-on-failure -j elif [[ "$OSTYPE" == "darwin"* ]]; then - ctest --test-dir "$build_dir" -R amd-aie -E "pack_peel_pipeline_matmul|conv_fill_spec_pad" --output-on-failure -j --repeat until-pass:5 + ctest --test-dir "$build_dir" -R amd-aie -E "matmul_pack_peel_air_e2e|matmul_elementwise_pack_peel_air_e2e|conv_fill_spec_pad" --output-on-failure -j --repeat until-pass:5 elif [[ "$OSTYPE" == "msys"* ]]; then # hack while windows is flaky to get past failing tests ctest --test-dir "$build_dir" -R amd-aie --output-on-failure -j --repeat until-pass:5 diff --git a/build_tools/ci/print_ir_aie2xclbin/print_ir_aie2xclbin.sh b/build_tools/ci/print_ir_aie2xclbin/print_ir_aie2xclbin.sh index 6116e3035..39ea12f1d 100755 --- a/build_tools/ci/print_ir_aie2xclbin/print_ir_aie2xclbin.sh +++ b/build_tools/ci/print_ir_aie2xclbin/print_ir_aie2xclbin.sh @@ -146,6 +146,7 @@ IREE_COMPILE_COMMAND="${IREE_COMPILE_EXE} \ ${SOURCE_MLIR_FILE} \ --compile-mode=hal-executable \ --iree-hal-target-backends=amd-aie \ +--iree-amdaie-lower-to-aie-pipeline=air \ --iree-amd-aie-peano-install-dir=${PEANO} \ --iree-amd-aie-install-dir=${IREE_INSTALL_DIR} \ --iree-hal-dump-executable-intermediates-to=${OUTPUT} \ @@ -168,6 +169,7 @@ IREE_COMPILE_COMMAND="${IREE_COMPILE_EXE} \ ${SOURCE_MLIR_FILE} \ --compile-mode=hal-executable \ --iree-hal-target-backends=amd-aie \ +--iree-amdaie-lower-to-aie-pipeline=air \ --iree-amd-aie-peano-install-dir=${PEANO} \ --iree-amd-aie-install-dir=${IREE_INSTALL_DIR} \ --iree-hal-dump-executable-intermediates-to=${OUTPUT} \