Skip to content

Commit

Permalink
try reverting "run unit tests with multiple device streams"
Browse files Browse the repository at this point in the history
This reverts commit b4b5997.
  • Loading branch information
evaleev committed Sep 26, 2023
1 parent b4b5997 commit ca59376
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,10 @@ if(ENABLE_MPI)
$<TARGET_FILE:${executable}> --log_level=unit_scope ${${executable}_np_${p}_args}
${MPIEXEC_POSTFLAGS}
)
# N.B. some CUDA unit tests require TA_CUDA_NUM_STREAMS=1 for now
set_tests_properties(tiledarray/unit/run-np-${p}
PROPERTIES FIXTURES_REQUIRED TA_UNIT_TESTS_EXEC
ENVIRONMENT "MAD_NUM_THREADS=2"
ENVIRONMENT "MAD_NUM_THREADS=2;TA_CUDA_NUM_STREAMS=1"
)

if (p GREATER 1)
Expand All @@ -177,8 +178,9 @@ if(ENABLE_MPI)
else()
add_test(NAME tiledarray/unit/run-np-1
COMMAND ${executable})
# N.B. some CUDA unit tests require TA_CUDA_NUM_STREAMS=1 for now
set_tests_properties(tiledarray/unit/run-np-1
PROPERTIES FIXTURES_REQUIRED TA_UNIT_TESTS_EXEC
ENVIRONMENT "MAD_NUM_THREADS=2"
ENVIRONMENT "MAD_NUM_THREADS=2;TA_CUDA_NUM_STREAMS=1"
)
endif()

0 comments on commit ca59376

Please sign in to comment.