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 357648f commit 05c44c7Copy full SHA for 05c44c7
src/include/OpenImageIO/simd.h
@@ -115,6 +115,11 @@
115
// Cuda -- don't include any of these headers
116
#elif defined(_WIN32)
117
# include <intrin.h>
118
+// MSVC's intrin.h includes arm_neon.h, clang (and by extension clang-cl)
119
+// has a version without this inclusion, so we need to manually add it
120
+# if defined(__ARM_NEON__) && !defined(OIIO_NO_NEON)
121
+# include <arm_neon.h>
122
+# endif
123
#elif defined(__GNUC__) && (defined(__x86_64__) || defined(__i386__)) || defined(__e2k__)
124
# include <x86intrin.h>
125
#elif defined(__GNUC__) && defined(__ARM_NEON__) && !defined(OIIO_NO_NEON)
0 commit comments