mpi::broadcast

#include <mpi.hpp>

Synopsis

template<typename T>
void broadcast (T & x, communicator c = {}, int root = 0)

Template parameters

  • T Type to be broadcasted.

Parameters

  • x Object to be broadcasted.

  • c mpi::communicator.

  • root Rank of the root process.