Skip to content

Commit fc8687f

Browse files
committed
tests(core): enable missing broadcast and all-gather tests
Signed-off-by: Gabriel Dos Santos <gabriel.dossantos@cea.fr>
1 parent f98e15a commit fc8687f

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

unit_tests/CMakeLists.txt

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,14 @@ include(kc-test)
4747

4848
# --- Core API unit tests --- #
4949
kc_add_unit_test(test.core.p2p CORE NUM_PES 2 FILES test_main.cpp test_sendrecv.cpp)
50-
kc_add_unit_test(test.core.all_reduce CORE NUM_PES 2 FILES test_main.cpp test_allreduce.cpp)
51-
kc_add_unit_test(test.core.all_to_all CORE NUM_PES 2 FILES test_main.cpp test_alltoall.cpp)
50+
kc_add_unit_test(test.core.broadcast CORE NUM_PES 2 FILES test_main.cpp test_broadcast.cpp)
51+
kc_add_unit_test(test.core.all-gather CORE NUM_PES 2 FILES test_main.cpp test_allgather.cpp)
5252
kc_add_unit_test(test.core.reduce CORE NUM_PES 2 FILES test_main.cpp test_reduce.cpp)
53+
kc_add_unit_test(test.core.all-reduce CORE NUM_PES 2 FILES test_main.cpp test_allreduce.cpp)
54+
kc_add_unit_test(test.core.all-to-all CORE NUM_PES 2 FILES test_main.cpp test_alltoall.cpp)
5355

54-
kc_add_unit_test(test.core.datatype_conv CORE NUM_PES 1 FILES test_main.cpp test_datatype_conversion.cpp)
55-
kc_add_unit_test(test.core.red_op_conv CORE NUM_PES 1 FILES test_main.cpp test_red_op_conversion.cpp)
56+
kc_add_unit_test(test.core.datatype-conv CORE NUM_PES 1 FILES test_main.cpp test_datatype_conversion.cpp)
57+
kc_add_unit_test(test.core.red-op-conv CORE NUM_PES 1 FILES test_main.cpp test_red_op_conversion.cpp)
5658

5759
# --- MPI backend unit tests --- #
5860
if(KokkosComm_ENABLE_MPI)
@@ -95,14 +97,14 @@ if(KokkosComm_ENABLE_MPI)
9597
)
9698

9799
kc_add_unit_test(
98-
test.mpi.sendrecv
100+
test.mpi.send-recv
99101
MPI
100102
NUM_PES 2
101103
FILES test_main.cpp mpi/test_sendrecv.cpp
102104
LIBRARIES KokkosComm::KokkosComm
103105
)
104106
kc_add_unit_test(
105-
test.mpi.isendrecv
107+
test.mpi.isend-recv
106108
MPI
107109
NUM_PES 2
108110
FILES test_main.cpp mpi/test_isendrecv.cpp
@@ -137,29 +139,29 @@ if(KokkosComm_ENABLE_MPI)
137139
LIBRARIES KokkosComm::KokkosComm
138140
)
139141
kc_add_unit_test(
140-
test.mpi.allreduce
142+
test.mpi.all-reduce
141143
MPI
142144
NUM_PES 2
143145
FILES test_main.cpp mpi/test_allreduce.cpp
144146
LIBRARIES KokkosComm::KokkosComm
145147
)
146148
kc_add_unit_test(
147-
test.mpi.alltoall
149+
test.mpi.all-to-all
148150
MPI
149151
NUM_PES 2
150152
FILES test_main.cpp mpi/test_alltoall.cpp
151153
LIBRARIES KokkosComm::KokkosComm
152154
)
153155
kc_add_unit_test(
154-
test.mpi.allgather
156+
test.mpi.all-gather
155157
MPI
156158
NUM_PES 2
157159
FILES test_main.cpp mpi/test_allgather.cpp
158160
LIBRARIES KokkosComm::KokkosComm
159161
)
160162
kc_add_unit_test(test.mpi.scan MPI NUM_PES 2 FILES test_main.cpp mpi/test_scan.cpp LIBRARIES KokkosComm::KokkosComm)
161163
kc_add_unit_test(
162-
test.mpi.channel_p2p
164+
test.mpi.channel-p2p
163165
MPI
164166
NUM_PES 2
165167
FILES test_main.cpp mpi/test_channel.cpp
@@ -186,21 +188,21 @@ if(KokkosComm_ENABLE_NCCL)
186188
LIBRARIES KokkosComm::KokkosComm MPI::MPI_CXX
187189
)
188190
kc_add_unit_test(
189-
test.nccl.allgather
191+
test.nccl.all-gather
190192
NCCL
191193
NUM_PES 2
192194
FILES test_main.cpp nccl/test_allgather.cpp
193195
LIBRARIES KokkosComm::KokkosComm MPI::MPI_CXX
194196
)
195197
kc_add_unit_test(
196-
test.nccl.alltoall
198+
test.nccl.all-to-all
197199
NCCL
198200
NUM_PES 2
199201
FILES test_main.cpp nccl/test_alltoall.cpp
200202
LIBRARIES KokkosComm::KokkosComm MPI::MPI_CXX
201203
)
202204
kc_add_unit_test(
203-
test.nccl.allreduce
205+
test.nccl.all-reduce
204206
NCCL
205207
NUM_PES 2
206208
FILES test_main.cpp nccl/test_allreduce.cpp

0 commit comments

Comments
 (0)