File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1- definitions: [./cmake/kokkoscomm_test .cmake]
1+ definitions: [./cmake/kc-test .cmake]
22line_length: 120
33list_expansion: favour-inlining
44indent: 2
Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ function(kc_add_unit_test name)
2323 target_link_libraries (${name} PRIVATE NCCL::NCCL)
2424 endif ()
2525
26- add_test (NAME ${name} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${UT_NUM_PES} ${name} )
26+ add_test (NAME ${name} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${UT_NUM_PES} ./ ${name} )
2727endfunction ()
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ FetchContent_Declare(
4242)
4343FetchContent_MakeAvailable(fmt)
4444
45- include (kokkoscomm_test)
45+ list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR} /../cmake" )
46+ include (kc-test )
4647
4748# --- Core API unit tests --- #
4849kc_add_unit_test(test .core.p2p CORE NUM_PES 2 FILES test_main.cpp test_sendrecv.cpp)
@@ -58,12 +59,10 @@ if(KOKKOSCOMM_ENABLE_MPI)
5859 kc_add_unit_test(smoke.mpi.cuda-p2p MPI NUM_PES 2 FILES mpi/test_mpi_cuda_sendrecv.cpp)
5960 # MPICH needs dynamic cudart (we think, pmodels/mpich#7304)
6061 if (KOKKOSCOMM_IMPL_MPI_IS_MPICH)
61- # gersemi: off
6262 # Setting the CUDA_RUNTIME_LIBRARY property on this target to "Shared" doesn't work for
6363 # reasons I don't understand.
6464 target_compile_options (smoke.mpi.cuda-p2p PUBLIC --cudart shared)
6565 target_link_options (smoke.mpi.cuda-p2p PUBLIC --cudart shared)
66- # gersemi: on
6766 endif ()
6867 endif ()
6968
You can’t perform that action at this time.
0 commit comments