Skip to content

Commit b56417b

Browse files
sjeaugeyhjelmn
authored andcommitted
Fix typo calling allreduce with the allgather module.
That was causing CUDA collective to crash. (cherry picked from commit 61e900e) Signed-off-by: Nathan Hjelm <[email protected]>
1 parent 63a8c22 commit b56417b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/communicator/comm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ int ompi_comm_split_type (ompi_communicator_t *comm, int split_type, int key,
811811
tmp[3] = -key;
812812

813813
rc = comm->c_coll.coll_allreduce (MPI_IN_PLACE, &tmp, 4, MPI_INT, MPI_MAX, comm,
814-
comm->c_coll.coll_allgather_module);
814+
comm->c_coll.coll_allreduce_module);
815815
if (OPAL_UNLIKELY(OMPI_SUCCESS != rc)) {
816816
return rc;
817817
}

0 commit comments

Comments
 (0)