Skip to content

Commit

Permalink
Disabled selected individual unit tests for Kokkos and KokkosKernels …
Browse files Browse the repository at this point in the history
…for CUDA debug build on 'white'/'ride' (#2827)

Just two individual GTest unit tests are disabled when running the CUDA-DEBUG
build on 'white'/ride' in the tests KokkosContainers_UnitTest_Serial_MPI_1 and
KokkosKernels_sparse_serial_MPI_1.  This allows these tests to complete in
under 10 minites for this build.

NOTE: These individual unit tests are not disabled in any other debug builds
or any opt builds.
  • Loading branch information
bartlettroscoe committed Jun 12, 2018
1 parent 4a3d9db commit e6a1b58
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmake/std/atdm/ride/tweaks/CUDA-DEBUG-CUDA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@ ATDM_SET_ENABLE(TeuchosNumerics_LAPACK_test_MPI_1_DISABLE ON)
# This test segfaults in the 'debug' builds on this system (#2466)
ATDM_SET_ENABLE(Belos_Tpetra_PseudoBlockCG_hb_test_MPI_4_DISABLE ON)

# Disable some unit tests that run too slow in debug mode for this CUDA DEBUG
# build (#2827)
ATDM_SET_CACHE(KokkosContainers_UnitTest_Serial_MPI_1_EXTRA_ARGS
"--gtest_filter=-serial.bitset:serial.scatterview"
CACHE STRING )
ATDM_SET_CACHE(KokkosKernels_sparse_serial_MPI_1_EXTRA_ARGS
"--gtest_filter=-serial.sparse_block_gauss_seidel_double_int_int_TestExecSpace:serial.sparse_block_gauss_seidel_double_int_size_t_TestExecSpace"
CACHE STRING )

INCLUDE("${CMAKE_CURRENT_LIST_DIR}/CUDA_COMMON_TWEAKS.cmake")

0 comments on commit e6a1b58

Please sign in to comment.