From 0986a3a86327ad3f4113f0b55a253005648c4234 Mon Sep 17 00:00:00 2001 From: Damien L-G Date: Wed, 11 Jan 2023 22:56:03 -0500 Subject: [PATCH] Desul atomics: drop unnecessary macro guard that checks for__CUDA_ARCH__ in PTX assembly code --- tpls/desul/include/desul/atomics/cuda/CUDA_asm.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tpls/desul/include/desul/atomics/cuda/CUDA_asm.hpp b/tpls/desul/include/desul/atomics/cuda/CUDA_asm.hpp index 13a733dc61..96e0dfa269 100644 --- a/tpls/desul/include/desul/atomics/cuda/CUDA_asm.hpp +++ b/tpls/desul/include/desul/atomics/cuda/CUDA_asm.hpp @@ -1,7 +1,6 @@ #include namespace desul { namespace Impl { -#if defined(__CUDA_ARCH__) || (defined(__clang__) && !defined(__NVCC__)) // Choose the variant of atomics we are using later #if !defined(DESUL_IMPL_ATOMIC_CUDA_PTX_PREDICATE) && \ !defined(DESUL_IMPL_ATOMIC_CUDA_PTX_ISGLOBAL) @@ -14,6 +13,5 @@ namespace Impl { #endif #include -#endif } // namespace Impl } // namespace desul