Skip to content

Commit

Permalink
Desul atomics: drop unnecessary macro guard that checks for__CUDA_ARC…
Browse files Browse the repository at this point in the history
…H__ in PTX assembly code
  • Loading branch information
dalg24 committed Jan 12, 2023
1 parent 0e3848f commit 0986a3a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tpls/desul/include/desul/atomics/cuda/CUDA_asm.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include <limits>
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)
Expand All @@ -14,6 +13,5 @@ namespace Impl {
#endif
#include <desul/atomics/cuda/cuda_cc7_asm.inc>

#endif
} // namespace Impl
} // namespace desul

0 comments on commit 0986a3a

Please sign in to comment.