summaryrefslogtreecommitdiff
path: root/absl/crc
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2023-01-11 22:11:12 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2023-01-11 22:12:09 -0800
commit61fc09665e0b937d75a19fa7b8671a183fd37606 (patch)
tree34f56f7a821f0bc7de06951287b578bfd50f9240 /absl/crc
parent0db27008fbd44253e428298cda58f6c8f56134f5 (diff)
Don't use Arm vector intrinsics when compiling with CUDA in device mode.
PiperOrigin-RevId: 501464530 Change-Id: I5a0929a2b88c1c158b1696634a65ffda9c4b8590
Diffstat (limited to 'absl/crc')
-rw-r--r--absl/crc/internal/crc32_x86_arm_combined_simd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/crc/internal/crc32_x86_arm_combined_simd.h b/absl/crc/internal/crc32_x86_arm_combined_simd.h
index 344042d8..fb643986 100644
--- a/absl/crc/internal/crc32_x86_arm_combined_simd.h
+++ b/absl/crc/internal/crc32_x86_arm_combined_simd.h
@@ -40,7 +40,7 @@
#define ABSL_CRC_INTERNAL_HAVE_X86_SIMD
#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)
#include <arm_acle.h>