summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorSayed Adel <seiko@imavr.com>2020-06-13 18:15:46 +0200
committerSayed Adel <seiko@imavr.com>2020-06-16 18:41:56 +0200
commit524664e5684ae03a845f3a3dff8360ee82aa7e4d (patch)
treec74344a7d03ac9a9da3875c706ab66ef8a16e41c /numpy/core/setup.py
parentb9d5e12a43c466e1c4a50ee94bd3311a438e6217 (diff)
downloadnumpy-524664e5684ae03a845f3a3dff8360ee82aa7e4d.tar.gz
ENH: [5/7] enable multi-platform SIMD compiler optimizations
Add new C header located at `core/src/common/npy_cpu_dispatch.h` the new header works as a bridge linking the generated headers and macros by `CCompilerOpt` with NumPy runtime CPU features detection API through provides several C macros can be used in dispatching the generated objects from dispatch-able sources.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 5351b30bf..b59e60d9f 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -738,6 +738,7 @@ def configuration(parent_package='',top_path=None):
join('src', 'common', 'ufunc_override.h'),
join('src', 'common', 'umathmodule.h'),
join('src', 'common', 'numpyos.h'),
+ join('src', 'common', 'npy_cpu_dispatch.h'),
]
common_src = [