diff options
author | Sayed Adel <seiko@imavr.com> | 2020-09-15 16:06:14 +0200 |
---|---|---|
committer | Sayed Adel <seiko@imavr.com> | 2020-10-27 11:46:58 +0000 |
commit | 7d125fb70cb149207171b7181312f9679dd4d451 (patch) | |
tree | 8c6cbd3b0dd140160d96b98794f3284857681c82 /numpy/distutils/command/build.py | |
parent | e19f7a8cfe59226fed6cc7a7da9e881218364d49 (diff) | |
download | numpy-7d125fb70cb149207171b7181312f9679dd4d451.tar.gz |
MAINT, TST: Serveral imporvments to _SIMD module
- use plain variables
- clean up aligned allocate
- use `PyArg_ParseTuple` for empty args
- use `Py_ssize_t` instead of `unsigned` and `size_t`
- improve coding style
- no need for a custom raises assertions
- use parametrize instead of inner loops
- leave a comment about nature of mode testing unit
- shift to get max/min of int72
- add more info to repr of vector object
- get ride of exec() and use type() instead
- use `.inc` as extension for sub-headers instead of `.h`
- add `FMA4` and drop `SSE41` from _SIMD targets
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Diffstat (limited to 'numpy/distutils/command/build.py')
-rw-r--r-- | numpy/distutils/command/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/command/build.py b/numpy/distutils/command/build.py index 6025586cd..a4fda537d 100644 --- a/numpy/distutils/command/build.py +++ b/numpy/distutils/command/build.py @@ -47,7 +47,7 @@ class build(old_build): - not part of dispatch-able features(--cpu-dispatch) - not supported by compiler or platform """ - self.simd_test = "BASELINE SSE2 SSE41 SSE42 XOP (FMA3 AVX2) AVX512F AVX512_SKX VSX VSX2 VSX3 NEON ASIMD" + self.simd_test = "BASELINE SSE2 SSE42 XOP FMA4 (FMA3 AVX2) AVX512F AVX512_SKX VSX VSX2 VSX3 NEON ASIMD" def finalize_options(self): build_scripts = self.build_scripts |