We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1923b38 commit 4961a14Copy full SHA for 4961a14
numpy/_core/src/umath/loops_half.dispatch.c.src
@@ -6,7 +6,11 @@
6
#include "fast_loop_macros.h"
7
8
9
-#define NPY__SVML_IS_ENABLED (NPY_SIMD && defined(NPY_HAVE_AVX512_SKX) && defined(NPY_CAN_LINK_SVML))
+#if NPY_SIMD && defined(NPY_HAVE_AVX512_SKX) && defined(NPY_CAN_LINK_SVML)
10
+ #define NPY__SVML_IS_ENABLED 1
11
+#else
12
+ #define NPY__SVML_IS_ENABLED 0
13
+#endif
14
15
#if NPY__SVML_IS_ENABLED && !defined(NPY_HAVE_AVX512_SPR)
16
0 commit comments