summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorQiyu8 <fangchunlin@huawei.com>2020-12-14 11:00:09 +0800
committerQiyu8 <fangchunlin@huawei.com>2020-12-14 11:00:09 +0800
commit350670fd661bba7f8cf8baf436f07b3a284b85be (patch)
tree6b603940ac94798f5c2f78c1fce47a615aea4172 /numpy/core
parentc32f60e38376e438e1d357d03c5699f4fe9c6649 (diff)
downloadnumpy-350670fd661bba7f8cf8baf436f07b3a284b85be.tar.gz
remove force avx2
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/src/common/simd/simd.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/numpy/core/src/common/simd/simd.h b/numpy/core/src/common/simd/simd.h
index 7705a48ce..8804223c9 100644
--- a/numpy/core/src/common/simd/simd.h
+++ b/numpy/core/src/common/simd/simd.h
@@ -10,11 +10,7 @@
#include "numpy/npy_common.h"
#include "npy_cpu_dispatch.h"
#include "simd_utils.h"
-#ifndef NPY_HAVE_AVX2
- #include <immintrin.h>
- #define NPY_HAVE_AVX
- #define NPY_HAVE_AVX2
-#endif
+
#ifdef __cplusplus
extern "C" {
#endif