1 /* Copyright (c) 2013-2022. The SimGrid Team.
2 * All rights reserved. */
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. */
7 #include "../colls_private.hpp"
8 namespace simgrid::smpi {
9 int allreduce__redbcast(const void *buf, void *buf2, int count,
10 MPI_Datatype datatype, MPI_Op op,
13 colls::reduce(buf, buf2, count, datatype, op, 0, comm);
14 colls::bcast(buf2, count, datatype, 0, comm);
17 } // namespace simgrid::smpi