From 61fc09665e0b937d75a19fa7b8671a183fd37606 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Wed, 11 Jan 2023 22:11:12 -0800 Subject: Don't use Arm vector intrinsics when compiling with CUDA in device mode. PiperOrigin-RevId: 501464530 Change-Id: I5a0929a2b88c1c158b1696634a65ffda9c4b8590 --- absl/crc/internal/crc32_x86_arm_combined_simd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'absl/crc') 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 -- cgit v1.2.3