mpi::all_reduce

#include <mpi.hpp>

Synopsis

template<typename T>
decltype(auto) all_reduce (T && x, communicator c = {}, MPI_Op op = MPI_SUM)