Skip to content
Snippets Groups Projects
Verified Commit 4d2ed77b authored by Guilherme Amadio's avatar Guilherme Amadio
Browse files

Disable std::simd backend when compiling with libc++

The implementation from libc++ is not complete. It lacks
support for static_simd_cast, which we use. For more information,
please see https://libcxx.llvm.org/Status/Parallelism.html
parent 724c5e9c
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
#define VECCORE_BACKEND_STD_SIMD_H
#if __cplusplus >= 202002L && defined(__has_include)
#if __has_include(<experimental/simd>)
#if __has_include(<experimental/simd>) && !defined(_LIBCPP_VERSION)
#define VECCORE_ENABLE_STD_SIMD
#endif
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment