diff options
author | nechda <nechda@yandex-team.com> | 2024-10-28 08:48:34 +0300 |
---|---|---|
committer | nechda <nechda@yandex-team.com> | 2024-10-28 09:07:34 +0300 |
commit | 0615ed44175b92d390efa180351b9a98a762fd6b (patch) | |
tree | 12cd94c12f98ae997d43c8073667d2832151c765 /contrib | |
parent | 4b5778a6d0fdfa55f141cc5288721df62d77eafe (diff) | |
download | ydb-0615ed44175b92d390efa180351b9a98a762fd6b.tar.gz |
Disable headers for SIMDSs on arm-neon under nvcc
commit_hash:a7dc834b88bf2017511051dc03c4c4f20bef58ee
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/restricted/abseil-cpp-tstring/y_absl/base/config.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/base/config.h b/contrib/restricted/abseil-cpp-tstring/y_absl/base/config.h index 527b6181a2..287b06dd4c 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/base/config.h +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/base/config.h @@ -917,12 +917,6 @@ static_assert(Y_ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' || #define Y_ABSL_INTERNAL_HAVE_SSSE3 1 #endif -#ifdef __NVCC__ -#undef Y_ABSL_INTERNAL_HAVE_SSE -#undef Y_ABSL_INTERNAL_HAVE_SSE2 -#undef Y_ABSL_INTERNAL_HAVE_SSSE3 -#endif - // Y_ABSL_INTERNAL_HAVE_ARM_NEON is used for compile-time detection of NEON (ARM // SIMD). // @@ -936,6 +930,13 @@ static_assert(Y_ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' || #define Y_ABSL_INTERNAL_HAVE_ARM_NEON 1 #endif +#ifdef __NVCC__ +#undef Y_ABSL_INTERNAL_HAVE_SSE +#undef Y_ABSL_INTERNAL_HAVE_SSE2 +#undef Y_ABSL_INTERNAL_HAVE_SSSE3 +#undef Y_ABSL_INTERNAL_HAVE_ARM_NEON +#endif + // Y_ABSL_HAVE_CONSTANT_EVALUATED is used for compile-time detection of // constant evaluation support through `y_absl::is_constant_evaluated`. #ifdef Y_ABSL_HAVE_CONSTANT_EVALUATED |