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

Public GIT Repository
[SMPI] Fixed smpi_replay_init()
[simgrid.git] / src / smpi / colls / allreduce-redbcast.c
index 69c552dfe29e608e6d7c0aaebc15b2e68a0cfac0..20b4481dd70612c8c682367a423de37e411fb12b 100644 (file)
@@ -1,10 +1,16 @@
+/* Copyright (c) 2013-2014. The SimGrid Team.
+ * All rights reserved.                                                     */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
 #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;
 }