File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
numpy/_core/src/multiarray Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -850,7 +850,7 @@ NPY_NO_EXPORT PyArrayMethod_StridedLoop *
850
850
// Enable auto-vectorization for floating point casts with clang
851
851
#if @is_native_half1@ || @is_float1@ || @is_double1@
852
852
#if @is_native_half2@ || @is_float2@ || @is_double2@
853
- #if defined(__clang__) && !defined(__EMSCRIPTEN__)
853
+ #if defined(__clang__) && !defined(__EMSCRIPTEN__) && !defined(__wasm__)
854
854
#if __clang_major__ >= 12
855
855
_Pragma("clang fp exceptions(ignore)")
856
856
#endif
@@ -965,7 +965,7 @@ static GCC_CAST_OPT_LEVEL int
965
965
966
966
#if @is_native_half1@ || @is_float1@ || @is_double1@
967
967
#if @is_native_half2@ || @is_float2@ || @is_double2@
968
- #if defined(__clang__) && !defined(__EMSCRIPTEN__)
968
+ #if defined(__clang__) && !defined(__EMSCRIPTEN__) && !defined(__wasm__)
969
969
#if __clang_major__ >= 12
970
970
_Pragma("clang fp exceptions(strict)")
971
971
#endif
You can’t perform that action at this time.
0 commit comments