Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
another allreduce ported
[simgrid.git] / src / smpi / colls / allreduce-redbcast.c
1 #include "colls.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 0;
10 }