summaryrefslogtreecommitdiff
path: root/numpy/core/src/common
diff options
context:
space:
mode:
authorRaghuveer Devulapalli <raghuveer.devulapalli@intel.com>2022-02-23 10:47:07 -0800
committerRaghuveer Devulapalli <raghuveer.devulapalli@intel.com>2022-02-23 10:47:07 -0800
commite16f5b0afc7a2280af4f03fb6465384b6872fce2 (patch)
tree607011e47ef3b86f6829e8c060781bfc125b5552 /numpy/core/src/common
parent8ff71c7753059d3af80739588999ec9f70375c14 (diff)
downloadnumpy-e16f5b0afc7a2280af4f03fb6465384b6872fce2.tar.gz
ENH: Use SVML for f64 exp and log for AVX512_SKX
Diffstat (limited to 'numpy/core/src/common')
-rw-r--r--numpy/core/src/common/npy_svml.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/src/common/npy_svml.h b/numpy/core/src/common/npy_svml.h
index 4292f7090..1111025d7 100644
--- a/numpy/core/src/common/npy_svml.h
+++ b/numpy/core/src/common/npy_svml.h
@@ -1,5 +1,7 @@
#if NPY_SIMD && defined(NPY_HAVE_AVX512_SKX) && defined(NPY_CAN_LINK_SVML)
+extern __m512 __svml_expf16(__m512 x);
extern __m512 __svml_exp2f16(__m512 x);
+extern __m512 __svml_logf16(__m512 x);
extern __m512 __svml_log2f16(__m512 x);
extern __m512 __svml_log10f16(__m512 x);
extern __m512 __svml_expm1f16(__m512 x);
@@ -19,7 +21,9 @@ extern __m512 __svml_asinhf16(__m512 x);
extern __m512 __svml_acoshf16(__m512 x);
extern __m512 __svml_atanhf16(__m512 x);
+extern __m512d __svml_exp8(__m512d x);
extern __m512d __svml_exp28(__m512d x);
+extern __m512d __svml_log8(__m512d x);
extern __m512d __svml_log28(__m512d x);
extern __m512d __svml_log108(__m512d x);
extern __m512d __svml_expm18(__m512d x);