File tree Expand file tree Collapse file tree 3 files changed +1
-116
lines changed Expand file tree Collapse file tree 3 files changed +1
-116
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,22 +6,14 @@ This dialect defines custom and LLVM IR intrinsic operations that are used to
6
6
target Arm Scalable Matrix Extension. Through the available conversion and
7
7
ArmSME passes you can, for example, lower a
8
8
[ linalg.matmul] ( https://mlir.llvm.org/docs/Dialects/Linalg/#linalgmatmul-linalgmatmulop )
9
- operation to Arm SME
9
+ opereation to Arm SME
10
10
[ FMOPA] ( https://developer.arm.com/documentation/ddi0602/2023-03/SME-Instructions/FMOPA--widening---Half-precision-floating-point-sum-of-outer-products-and-accumulate- )
11
11
(floating-point outer product) operations. See one of the in-tree end-to-end
12
12
integration tests for reference:
13
13
14
14
* [ Linalg/CPU/ArmSME/matmul.mlir] ( https://github.com/llvm/llvm-project/blob/main/mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/matmul.mlir )
15
15
* [ Vector/CPU/ArmSME/test-outerproduct-f64.mlir] ( https://github.com/llvm/llvm-project/blob/main/mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f64.mlir )
16
16
17
- In order to run ArmSME integration tests, include these flags in the CMake
18
- invocation when configuring LLVM and MLIR:
19
- ``` bash
20
- -DMLIR_INCLUDE_INTEGRATION_TESTS=On
21
- -DMLIR_RUN_ARM_SME_TESTS=On
22
- -DARM_EMULATOR_EXECUTABLE=< path-to-emulator>
23
- ```
24
-
25
17
These tests are run "post-commit" by the
26
18
[ clang-aarch64-sve-vla] ( https://lab.llvm.org/buildbot/#/builders/197 ) LLVM
27
19
BuildBot worker.
Original file line number Diff line number Diff line change 1
- include (MLIRCheckHardwareFeatures )
2
-
3
1
add_subdirectory (CAPI )
4
2
add_subdirectory (lib )
5
3
@@ -41,10 +39,6 @@ if (MLIR_INCLUDE_INTEGRATION_TESTS)
41
39
option (MLIR_RUN_ARM_SVE_TESTS "Run Arm SVE tests." )
42
40
option (MLIR_RUN_ARM_SME_TESTS "Run Arm SME tests." )
43
41
44
- # Check whether an emulator is required - if yes then make sure that it's
45
- # been set.
46
- check_emulator (MLIR_RUN_ARM_SVE_TESTS "HWCAP_SVE" ARM_EMULATOR_EXECUTABLE )
47
- check_emulator (MLIR_RUN_ARM_SME_TESTS "HWCAP2_SME" ARM_EMULATOR_EXECUTABLE )
48
42
49
43
# The native target may not be enabled when cross compiling, raise an error.
50
44
if (NOT MLIR_ENABLE_EXECUTION_ENGINE )
You can’t perform that action at this time.
0 commit comments