diff options
author | Sayed Adel <seiko@imavr.com> | 2020-12-11 19:45:12 +0000 |
---|---|---|
committer | Sayed Adel <seiko@imavr.com> | 2020-12-14 04:25:44 +0200 |
commit | 0985a73ffa4090b862829b92bf9df09bb2783efc (patch) | |
tree | 3438640886770c767db6d1826cf986c34343ae67 /numpy/core/setup.py | |
parent | d084917e8f884f43ee172117fe516244ebe728b5 (diff) | |
download | numpy-0985a73ffa4090b862829b92bf9df09bb2783efc.tar.gz |
ENH, SIMD: Ditching the old CPU dispatcher(Arithmetic)
The first patch in a series of pull-requests aims to facilitate the migration
process to our new SIMD interface(NPYV).
It is basically a process that focuses on getting rid of the main umath SIMD source `simd.inc`,
which contains almost all SIMD kernels, by splitting it into several dispatch-able sources without
changing the base code, which facilitates the review process in order to speed up access to the nominal target.
In this patch, we have moved the arithmetic operations of real and complex for single/double precision
to the new CPU dispatcher.
NOTE: previously, the SIMD code of AVX2 and AVX512F for single/double precision wasn't dispatched in runtime before.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 2ec5e1a64..2e020a595 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -916,8 +916,10 @@ def configuration(parent_package='',top_path=None): join('src', 'umath', 'funcs.inc.src'), join('src', 'umath', 'simd.inc.src'), join('src', 'umath', 'loops.h.src'), + join('src', 'umath', 'loops_utils.h.src'), join('src', 'umath', 'loops.c.src'), join('src', 'umath', 'loops_unary_fp.dispatch.c.src'), + join('src', 'umath', 'loops_arithm_fp.dispatch.c.src'), join('src', 'umath', 'matmul.h.src'), join('src', 'umath', 'matmul.c.src'), join('src', 'umath', 'clip.h.src'), |