diff options
author | Developer-Ecosystem-Engineering <65677710+Developer-Ecosystem-Engineering@users.noreply.github.com> | 2022-08-23 12:44:35 -0700 |
---|---|---|
committer | Developer-Ecosystem-Engineering <65677710+Developer-Ecosystem-Engineering@users.noreply.github.com> | 2022-12-06 17:22:07 -0800 |
commit | 93cbbbef2318eb9a5478c846a60a55b382e4c60d (patch) | |
tree | bb148a7670aa9672b01627a014d1075a80991902 /numpy/core/setup.py | |
parent | 28c81bc4b287255c4570a58e6d6bcd86600cd0b5 (diff) | |
download | numpy-93cbbbef2318eb9a5478c846a60a55b382e4c60d.tar.gz |
ENH: Add SIMD versions of bool logical_and, logical_or, logical_not and absolute
NumPy has SIMD versions of BOOL `logical_and`, `logical_or`, `logical_not`, and `absolute` for SSE2. The changes here replace that implementation with one that uses their universal intrinsics. This allows other architectures to have SIMD versions of the functions too.
BOOL `logical_and` and `logical_or` are particularly important for NumPy as that's how `np.any()` / `np.all()` are implemented.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index da5bc64c0..1c42e99c0 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -1009,6 +1009,7 @@ def configuration(parent_package='',top_path=None): join('src', 'umath', 'loops_unary_fp.dispatch.c.src'), join('src', 'umath', 'loops_arithm_fp.dispatch.c.src'), join('src', 'umath', 'loops_arithmetic.dispatch.c.src'), + join('src', 'umath', 'loops_logical.dispatch.c.src'), join('src', 'umath', 'loops_minmax.dispatch.c.src'), join('src', 'umath', 'loops_trigonometric.dispatch.c.src'), join('src', 'umath', 'loops_umath_fp.dispatch.c.src'), |