]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/colls/allreduce-redbcast.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
indent
[simgrid.git] / src / smpi / colls / allreduce-redbcast.c
index 88d35617ee46122100b31801e1c2405bba1a57fe..ca9b8fcd37f1c699d284b4c81c823a950d9268ec 100644 (file)
@@ -1,10 +1,10 @@
-#include "colls.h"
+#include "colls_private.h"
 
 int smpi_coll_tuned_allreduce_redbcast(void *buf, void *buf2, int count,
                                        MPI_Datatype datatype, MPI_Op op,
                                        MPI_Comm comm)
 {
-  smpi_mpi_reduce(buf, buf2, count, datatype, op, 0, comm);
-  smpi_mpi_bcast(buf2, count, datatype, 0, comm);
+  mpi_coll_reduce_fun(buf, buf2, count, datatype, op, 0, comm);
+  mpi_coll_bcast_fun(buf2, count, datatype, 0, comm);
   return MPI_SUCCESS;
 }