Skip to content

Commit dee6658

Browse files
authored
Add HIP data-tiling resolver to e2e encoding.mlir tests. (iree-org#20416)
Otherwise, the encodings are dropped because there are no resolvers. Signed-off-by: hanhanW <hanhan0912@gmail.com>
1 parent 15eb71c commit dee6658

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/e2e/encoding/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ iree_check_single_backend_test_suite(
1818
srcs = ["encoding.mlir"],
1919
compiler_flags = [
2020
"--iree-global-opt-experimental-rocm-data-tiling",
21+
"--iree-hip-encoding-layout-resolver=data-tiling",
2122
],
2223
driver = "hip",
2324
target_backend = "rocm",

tests/e2e/encoding/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ iree_check_single_backend_test_suite(
2121
"hip"
2222
COMPILER_FLAGS
2323
"--iree-global-opt-experimental-rocm-data-tiling"
24+
"--iree-hip-encoding-layout-resolver=data-tiling"
2425
)
2526

2627
### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###

0 commit comments

Comments
 (0)