diff options
author | Matti Picus <matti.picus@gmail.com> | 2022-01-18 19:11:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 19:11:41 +0200 |
commit | f9c4596e54a3810c5a398438f914091777a1b73b (patch) | |
tree | 268380edd49632f4f341dcf146816b030b44b94b /numpy/core/tests | |
parent | 72396eace8d20f48716900886ab2531b249f42ae (diff) | |
parent | 3784cac6f79b1a2f5828957173cac81bbc483ba3 (diff) | |
download | numpy-f9c4596e54a3810c5a398438f914091777a1b73b.tar.gz |
Merge pull request #20821 from rafaelcfsousa/p10_enablement
ENH: Add CPU feature detection for POWER10 (VSX4)
Diffstat (limited to 'numpy/core/tests')
-rw-r--r-- | numpy/core/tests/test_cpu_features.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_cpu_features.py b/numpy/core/tests/test_cpu_features.py index 706cf7a7e..1a76897e2 100644 --- a/numpy/core/tests/test_cpu_features.py +++ b/numpy/core/tests/test_cpu_features.py @@ -140,8 +140,8 @@ class Test_X86_Features(AbstractTest): is_power = re.match("^(powerpc|ppc)64", machine, re.IGNORECASE) @pytest.mark.skipif(not is_linux or not is_power, reason="Only for Linux and Power") class Test_POWER_Features(AbstractTest): - features = ["VSX", "VSX2", "VSX3"] - features_map = dict(VSX2="ARCH_2_07", VSX3="ARCH_3_00") + features = ["VSX", "VSX2", "VSX3", "VSX4"] + features_map = dict(VSX2="ARCH_2_07", VSX3="ARCH_3_00", VSX4="ARCH_3_1") def load_flags(self): self.load_flags_auxv() |