diff options
| author | Ganesh Kathiresan <ganesh3597@gmail.com> | 2021-03-08 14:19:18 +0530 |
|---|---|---|
| committer | Ganesh Kathiresan <ganesh3597@gmail.com> | 2021-03-20 16:22:13 +0530 |
| commit | f2cb33bcf60e72924b46dd652af64d0af8da2508 (patch) | |
| tree | 632c020f9f28ffd98d0ffa8c4bf9357311ed3c79 /numpy/core | |
| parent | 6b2fb9e6a567e24a8940d0c8d78410a310c531a1 (diff) | |
| download | numpy-f2cb33bcf60e72924b46dd652af64d0af8da2508.tar.gz | |
ENH, SIMD: Add dispatch to build process
Diffstat (limited to 'numpy/core')
| -rw-r--r-- | numpy/core/code_generators/generate_umath.py | 2 | ||||
| -rw-r--r-- | numpy/core/setup.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/code_generators/generate_umath.py b/numpy/core/code_generators/generate_umath.py index b5305fbfc..2e5548b69 100644 --- a/numpy/core/code_generators/generate_umath.py +++ b/numpy/core/code_generators/generate_umath.py @@ -325,7 +325,7 @@ defdict = { Ufunc(2, 1, None, # One is only a unit to the right, not the left docstrings.get('numpy.core.umath.floor_divide'), 'PyUFunc_DivisionTypeResolver', - TD(intfltcmplx), + TD(intfltcmplx, cfunc_alias='divide', dispatch=[('loops_arithmetic', 'BHILQ')]), [TypeDescription('m', FullTypeDescr, 'mq', 'm'), TypeDescription('m', FullTypeDescr, 'md', 'm'), TypeDescription('m', FullTypeDescr, 'mm', 'q'), diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 8c34a3286..df405bcaf 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -931,6 +931,7 @@ def configuration(parent_package='',top_path=None): 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', 'loops_arithmetic.dispatch.c.src'), join('src', 'umath', 'loops_trigonometric.dispatch.c.src'), join('src', 'umath', 'loops_exponent_log.dispatch.c.src'), join('src', 'umath', 'matmul.h.src'), |
