diff options
author | Abseil Team <absl-team@google.com> | 2023-01-11 22:11:12 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-01-11 22:12:09 -0800 |
commit | 61fc09665e0b937d75a19fa7b8671a183fd37606 (patch) | |
tree | 34f56f7a821f0bc7de06951287b578bfd50f9240 | |
parent | 0db27008fbd44253e428298cda58f6c8f56134f5 (diff) |
Don't use Arm vector intrinsics when compiling with CUDA in device mode.
PiperOrigin-RevId: 501464530
Change-Id: I5a0929a2b88c1c158b1696634a65ffda9c4b8590
-rw-r--r-- | absl/crc/internal/crc32_x86_arm_combined_simd.h | 2 |
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> |