diff options
author | Pauli Virtanen <pav@iki.fi> | 2016-09-05 20:53:25 +0200 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2017-01-19 22:12:47 +0100 |
commit | e23549899878c433edfde4fdb5f83ae34c3b3dff (patch) | |
tree | b54aa025b8d82bdf2c635c003f800f8ad7deae0e /numpy/core/setup.py | |
parent | 51e3a073448fe0cc59f71f0ecc78868648d0a5e6 (diff) | |
download | numpy-e23549899878c433edfde4fdb5f83ae34c3b3dff.tar.gz |
ENH: core: add overlap detection logic to EQUIVALENTLY/TRIVIALLY_ITERABLE loops
These loops iterate over whole arrays in "trivial" order, so that it is
possible to reason about the data dependency.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index ac2dcccf7..f45042bec 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -901,7 +901,8 @@ def configuration(parent_package='',top_path=None): join('src', 'umath', 'loops.c.src'), join('src', 'umath', 'ufunc_object.c'), join('src', 'umath', 'scalarmath.c.src'), - join('src', 'umath', 'ufunc_type_resolution.c')] + join('src', 'umath', 'ufunc_type_resolution.c'), + join('src', 'private', 'mem_overlap.c')] umath_deps = [ generate_umath_py, @@ -912,6 +913,7 @@ def configuration(parent_package='',top_path=None): join('src', 'umath', 'simd.inc.src'), join(codegen_dir, 'generate_ufunc_api.py'), join('src', 'private', 'lowlevel_strided_loops.h'), + join('src', 'private', 'mem_overlap.h'), join('src', 'private', 'ufunc_override.h')] + npymath_sources config.add_extension('umath', |