Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix build without tracing
[simgrid.git] / src / smpi / colls / allreduce-redbcast.c
index c00fc2f..ca9b8fc 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)
 {
-  MPI_Reduce(buf, buf2, count, datatype, op, 0, comm);
-  MPI_Bcast(buf2, count, datatype, 0, comm);
-  return 0;
+  mpi_coll_reduce_fun(buf, buf2, count, datatype, op, 0, comm);
+  mpi_coll_bcast_fun(buf2, count, datatype, 0, comm);
+  return MPI_SUCCESS;
 }