| if(NOT IREE_INPUT_STABLEHLO AND NOT IREE_HOST_BIN_DIR) |
| return() |
| endif() |
| |
| ### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_ABOVE_THIS_LINE ### |
| ################################################################################ |
| # Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from # |
| # tests/e2e/regression/stablehlo/BUILD.bazel # |
| # # |
| # Use iree_cmake_extra_content from iree/build_defs.oss.bzl to add arbitrary # |
| # CMake-only content. # |
| # # |
| # To disable autogeneration for this file entirely, delete this header. # |
| ################################################################################ |
| |
| iree_add_all_subdirs() |
| |
| iree_check_single_backend_test_suite( |
| NAME |
| check_stablehlo_regression_llvm-cpu |
| SRCS |
| "dynamic_abs.mlir" |
| "dynamic_add.mlir" |
| "dynamic_dot.mlir" |
| "dynamic_reduce_min.mlir" |
| "dynamic_torch_index_select_high_rank.mlir" |
| "dynamic_torch_index_select_negative.mlir" |
| "dynamic_torch_index_select_scalar.mlir" |
| "dynamic_torch_index_select_vector.mlir" |
| "lowering_config.mlir" |
| TARGET_BACKEND |
| "llvm-cpu" |
| DRIVER |
| "local-task" |
| COMPILER_FLAGS |
| "--iree-llvmcpu-target-cpu=generic" |
| ) |
| |
| iree_check_single_backend_test_suite( |
| NAME |
| check_stablehlo_regression_vmvx |
| SRCS |
| "dynamic_abs.mlir" |
| "dynamic_add.mlir" |
| "dynamic_dot.mlir" |
| "dynamic_reduce_min.mlir" |
| "dynamic_torch_index_select_high_rank.mlir" |
| "dynamic_torch_index_select_negative.mlir" |
| "dynamic_torch_index_select_scalar.mlir" |
| "dynamic_torch_index_select_vector.mlir" |
| TARGET_BACKEND |
| "vmvx" |
| DRIVER |
| "local-task" |
| ) |
| |
| iree_check_single_backend_test_suite( |
| NAME |
| check_stablehlo_regression_vulkan-spirv |
| SRCS |
| "dynamic_abs.mlir" |
| "dynamic_add.mlir" |
| "dynamic_dot.mlir" |
| "dynamic_reduce_min.mlir" |
| "dynamic_torch_index_select_high_rank.mlir" |
| "dynamic_torch_index_select_negative.mlir" |
| "dynamic_torch_index_select_scalar.mlir" |
| "dynamic_torch_index_select_vector.mlir" |
| TARGET_BACKEND |
| "vulkan-spirv" |
| DRIVER |
| "vulkan" |
| ) |
| |
| iree_check_single_backend_test_suite( |
| NAME |
| check_stablehlo_regression_cuda |
| SRCS |
| "dynamic_abs.mlir" |
| "dynamic_add.mlir" |
| "dynamic_dot.mlir" |
| "dynamic_reduce_min.mlir" |
| "dynamic_torch_index_select_high_rank.mlir" |
| "dynamic_torch_index_select_negative.mlir" |
| "dynamic_torch_index_select_scalar.mlir" |
| "dynamic_torch_index_select_vector.mlir" |
| TARGET_BACKEND |
| "cuda" |
| DRIVER |
| "cuda" |
| LABELS |
| "noasan" |
| "nomsan" |
| "notsan" |
| "noubsan" |
| "requires-gpu-nvidia" |
| ) |
| |
| iree_check_single_backend_test_suite( |
| NAME |
| check_stablehlo_regression_hip |
| SRCS |
| "dynamic_abs.mlir" |
| "dynamic_add.mlir" |
| "dynamic_dot.mlir" |
| "dynamic_reduce_min.mlir" |
| "dynamic_torch_index_select_high_rank.mlir" |
| "dynamic_torch_index_select_negative.mlir" |
| "dynamic_torch_index_select_scalar.mlir" |
| "dynamic_torch_index_select_vector.mlir" |
| TARGET_BACKEND |
| "rocm" |
| DRIVER |
| "hip" |
| COMPILER_FLAGS |
| "--iree-opt-level=O3" |
| LABELS |
| "noasan" |
| "nomsan" |
| "notsan" |
| "noubsan" |
| "requires-gpu-amd" |
| ) |
| |
| iree_lit_test_suite( |
| NAME |
| lit |
| SRCS |
| "globals_ml_program.mlir" |
| TOOLS |
| FileCheck |
| iree-run-mlir |
| LABELS |
| "driver=local-task" |
| "hostonly" |
| ) |
| |
| ### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ### |