Skip to content

Commit

Permalink
Always expect KOKKOS_ENABLE_CXX11_DISPATCH_LAMBDA to be set
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed May 3, 2023
1 parent 51d7c72 commit 7e32999
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/unit_test/TestCompilerMacros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,9 @@
#error "Only one host compiler macro can be defined"
#endif

#if defined(KOKKOS_ENABLE_CUDA) && !defined(KOKKOS_ENABLE_CUDA_LAMBDA)
#if defined(KOKKOS_ENABLE_CXX11_DISPATCH_LAMBDA)
#error "Macro bug: KOKKOS_ENABLE_CXX11_DISPATCH_LAMBDA shouldn't be defined"
#endif
#else
#if !defined(KOKKOS_ENABLE_CXX11_DISPATCH_LAMBDA)
#error "Macro bug: KOKKOS_ENABLE_CXX11_DISPATCH_LAMBDA should be defined"
#endif
#endif

namespace TestCompilerMacros {

Expand Down

0 comments on commit 7e32999

Please sign in to comment.