Commit 61fc0966 by Abseil Team Committed by Copybara-Service

Don't use Arm vector intrinsics when compiling with CUDA in device mode.

PiperOrigin-RevId: 501464530
Change-Id: I5a0929a2b88c1c158b1696634a65ffda9c4b8590
parent 0db27008
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#define ABSL_CRC_INTERNAL_HAVE_X86_SIMD #define ABSL_CRC_INTERNAL_HAVE_X86_SIMD
#elif defined(__aarch64__) && defined(__LITTLE_ENDIAN__) && \ #elif defined(__aarch64__) && defined(__LITTLE_ENDIAN__) && \
defined(__ARM_FEATURE_CRC32) && defined(__ARM_NEON) && \ defined(__ARM_FEATURE_CRC32) && defined(ABSL_INTERNAL_HAVE_ARM_NEON) && \
defined(__ARM_FEATURE_CRYPTO) defined(__ARM_FEATURE_CRYPTO)
#include <arm_acle.h> #include <arm_acle.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment