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/core/setup.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/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index e9a9a4e46..68aa0a851 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -983,18 +983,18 @@ def configuration(parent_package='',top_path=None): join('src', 'common', 'npy_cpu_features.c.src'), join('src', '_simd', '_simd.c'), join('src', '_simd', '_simd_inc.h.src'), - join('src', '_simd', '_simd_inc_data.h.src'), + join('src', '_simd', '_simd_data.inc.src'), join('src', '_simd', '_simd.dispatch.c.src'), ], depends=[ join('src', 'common', 'npy_cpu_dispatch.h'), join('src', 'common', 'simd', 'simd.h'), join('src', '_simd', '_simd.h'), join('src', '_simd', '_simd_inc.h.src'), - join('src', '_simd', '_simd_inc_data.h.src'), - join('src', '_simd', '_simd_inc_arg.h'), - join('src', '_simd', '_simd_inc_convert.h'), - join('src', '_simd', '_simd_inc_easyintrin.h'), - join('src', '_simd', '_simd_inc_vector.h'), + join('src', '_simd', '_simd_data.inc.src'), + join('src', '_simd', '_simd_arg.inc'), + join('src', '_simd', '_simd_convert.inc'), + join('src', '_simd', '_simd_easyintrin.inc'), + join('src', '_simd', '_simd_vector.inc'), ]) config.add_subpackage('tests') |