Skip to content

Commit

Permalink
Add test and link SVE to ASIMDHP
Browse files Browse the repository at this point in the history
  • Loading branch information
Mousius committed Dec 8, 2023
1 parent 5ce15fd commit 682d33c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meson_cpu/arm/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ ASIMDFHM = mod_features.new(
)
## Scalable Vector Extensions (SVE)
SVE = mod_features.new(
'SVE', 8,
'SVE', 8, implies: ASIMDHP,
args: {'val': '-march=armv8.2-a+sve', 'match': '-march=.*', 'mfilter': '\+.*'},
test_code: files(source_root + '/numpy/distutils/checks/cpu_sve.c')[0]
)
Expand Down
2 changes: 1 addition & 1 deletion numpy/_core/tests/test_cpu_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def load_flags(self):
@pytest.mark.skipif(not is_linux or not is_arm, reason="Only for Linux and ARM")
class Test_ARM_Features(AbstractTest):
features = [
"NEON", "ASIMD", "FPHP", "ASIMDHP", "ASIMDDP", "ASIMDFHM"
"SVE", "NEON", "ASIMD", "FPHP", "ASIMDHP", "ASIMDDP", "ASIMDFHM"
]
features_groups = dict(
NEON_FP16 = ["NEON", "HALF"],
Expand Down

0 comments on commit 682d33c

Please sign in to comment.