Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
69c552dfe29e608e6d7c0aaebc15b2e68a0cfac0
[simgrid.git] / src / smpi / colls / allreduce-redbcast.c
1 #include "colls_private.h"
2
3 int smpi_coll_tuned_allreduce_redbcast(void *buf, void *buf2, int count,
4                                        MPI_Datatype datatype, MPI_Op op,
5                                        MPI_Comm comm)
6 {
7   smpi_mpi_reduce(buf, buf2, count, datatype, op, 0, comm);
8   smpi_mpi_bcast(buf2, count, datatype, 0, comm);
9   return MPI_SUCCESS;
10 }