Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
leaks --
[simgrid.git] / src / smpi / colls / allreduce-redbcast.c
1 /* Copyright (c) 2013-2014. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #include "colls_private.h"
8
9 int smpi_coll_tuned_allreduce_redbcast(void *buf, void *buf2, int count,
10                                        MPI_Datatype datatype, MPI_Op op,
11                                        MPI_Comm comm)
12 {
13   mpi_coll_reduce_fun(buf, buf2, count, datatype, op, 0, comm);
14   mpi_coll_bcast_fun(buf2, count, datatype, 0, comm);
15   return MPI_SUCCESS;
16 }