Skip to content

Commit

Permalink
Kokkos: fix compilation for GCC 4.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ibaned committed Apr 2, 2018
1 parent ca2465c commit 3c09c73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/kokkos/core/unit_test/TestTeamVector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -903,12 +903,12 @@ TEST_F( TEST_CATEGORY, triple_nested_parallelism )
// With KOKKOS_DEBUG enabled, the functor uses too many registers to run
// with a team size of 32 on GPUs, 16 is the max possible (at least on a K80 GPU)
// See https://github.com/kokkos/kokkos/issues/1513
#if defined(KOKKOS_DEBUG)
#if defined(KOKKOS_DEBUG) && defined(KOKKOS_ENABLE_CUDA)
if (!std::is_same<TEST_EXECSPACE, Kokkos::Cuda>::value) {
#endif
TestTripleNestedReduce< double, TEST_EXECSPACE >( 8192, 2048, 32, 32 );
TestTripleNestedReduce< double, TEST_EXECSPACE >( 8192, 2048, 32, 16 );
#if defined(KOKKOS_DEBUG)
#if defined(KOKKOS_DEBUG) && defined(KOKKOS_ENABLE_CUDA)
}
#endif
TestTripleNestedReduce< double, TEST_EXECSPACE >( 8192, 2048, 16, 16 );
Expand Down

0 comments on commit 3c09c73

Please sign in to comment.