Skip to content

Commit

Permalink
Drop CUDA_LAMBDA guards in Cuda headers
Browse files Browse the repository at this point in the history
  • Loading branch information
dalg24 committed May 8, 2023
1 parent 798efc5 commit 0954a1b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/src/setup/Kokkos_Setup_Cuda.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,9 @@
#error "Cuda device capability >= 3.0 is required."
#endif

#ifdef KOKKOS_ENABLE_CUDA_LAMBDA
#define KOKKOS_LAMBDA [=] __host__ __device__

#define KOKKOS_CLASS_LAMBDA [ =, *this ] __host__ __device__

#else // !defined(KOKKOS_ENABLE_CUDA_LAMBDA)
#undef KOKKOS_ENABLE_CXX11_DISPATCH_LAMBDA
#endif // !defined(KOKKOS_ENABLE_CUDA_LAMBDA)

#define KOKKOS_IMPL_FORCEINLINE_FUNCTION __device__ __host__ __forceinline__
#define KOKKOS_IMPL_FORCEINLINE __forceinline__
#define KOKKOS_IMPL_INLINE_FUNCTION __device__ __host__ inline
Expand Down

0 comments on commit 0954a1b

Please sign in to comment.