...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::mpi::scatterv — Similar to boost::mpi::scatter with the difference that the number of values stored at the root process does not need to be a multiple of the communicator's size.
// In header: <boost/mpi/collectives.hpp> template<typename T> void scatterv(const communicator & comm, const std::vector< T > & in_values, const std::vector< int > & sizes, const std::vector< int > & displs, T * out_values, int out_size, int root); template<typename T> void scatterv(const communicator & comm, const T * in_values, const std::vector< int > & sizes, const std::vector< int > & displs, T * out_values, int out_size, int root); template<typename T> void scatterv(const communicator & comm, T * out_values, int out_size, int root); template<typename T> void scatterv(const communicator & comm, const T * in_values, const std::vector< int > & sizes, T * out_values, int root); template<typename T> void scatterv(const communicator & comm, const std::vector< T > & in_values, const std::vector< int > & sizes, T * out_values, int root);
Parameters: |
|