diff options
author | Javier Setoain <javier.setoain@gmail.com> | 2021-06-03 10:34:44 +0100 |
---|---|---|
committer | Javier Setoain <javier.setoain@gmail.com> | 2022-03-25 13:21:27 +0000 |
commit | ccb54d5b42031dc05fc2dd224be70399cc512245 (patch) | |
tree | 16b4d54ddc5600a52dfd7016de3531a4baf08d36 /mlir/test/CMakeLists.txt | |
parent | 72864d9bfec929b2427981d99c2ac67ff5fcfe19 (diff) | |
download | llvm-ccb54d5b42031dc05fc2dd224be70399cc512245.zip llvm-ccb54d5b42031dc05fc2dd224be70399cc512245.tar.gz llvm-ccb54d5b42031dc05fc2dd224be70399cc512245.tar.bz2 |
[mlir][Vector] Add integration tests for ArmSVE
In order to run these integration tests, it is required access to an
SVE-enabled CPU or and emulator with SVE support. In case of using
an emulator, aarch64 versions of lli and the MLIR C Runner Utils Library
are also required.
Differential Revision: https://reviews.llvm.org/D104517
Diffstat (limited to 'mlir/test/CMakeLists.txt')
-rw-r--r-- | mlir/test/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mlir/test/CMakeLists.txt b/mlir/test/CMakeLists.txt index 3e4606e..ae4eba4 100644 --- a/mlir/test/CMakeLists.txt +++ b/mlir/test/CMakeLists.txt @@ -23,9 +23,18 @@ set(MLIR_VULKAN_WRAPPER_LIBRARY_DIR ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) if (MLIR_INCLUDE_INTEGRATION_TESTS) set(INTEL_SDE_EXECUTABLE "" CACHE STRING "If set, arch-specific integration tests are run with Intel SDE.") + set(ARM_EMULATOR_EXECUTABLE "" CACHE STRING + "If set, arch-specific Arm integration tests are run with an emulator.") + set(ARM_EMULATOR_OPTIONS "" CACHE STRING + "If arch-specific Arm integration tests run emulated, pass these as parameters to the emulator.") + set(ARM_EMULATOR_LLI_EXECUTABLE "" CACHE STRING + "If arch-specific Arm integration tests run emulated, use this Arm native lli.") + set(ARM_EMULATOR_UTILS_LIB_DIR "" CACHE STRING + "If arch-specific Arm integration tests run emulated, find Arm native utility libraries in this directory.") option(MLIR_RUN_AMX_TESTS "Run AMX tests.") option(MLIR_RUN_X86VECTOR_TESTS "Run X86Vector tests.") option(MLIR_RUN_CUDA_TENSOR_CORE_TESTS "Run CUDA Tensor core WMMA tests.") + option(MLIR_RUN_ARM_SVE_TESTS "Run Arm SVE tests.") # Passed to lit.site.cfg.py.in to set up the path where to find the libraries. set(MLIR_INTEGRATION_TEST_DIR ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) |