...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::gatherv — Similar to boost::mpi::gather with the difference that the number of values to be send by non-root processes can vary.
// In header: <boost/mpi/collectives.hpp> template<typename T> void gatherv(const communicator & comm, const std::vector< T > & in_values, T * out_values, const std::vector< int > & sizes, const std::vector< int > & displs, int root); template<typename T> void gatherv(const communicator & comm, const T * in_values, int in_size, T * out_values, const std::vector< int > & sizes, const std::vector< int > & displs, int root); template<typename T> void gatherv(const communicator & comm, const std::vector< T > & in_values, int root); template<typename T> void gatherv(const communicator & comm, const T * in_values, int in_size, int root); template<typename T> void gatherv(const communicator & comm, const T * in_values, int in_size, T * out_values, const std::vector< int > & sizes, int root); template<typename T> void gatherv(const communicator & comm, const std::vector< T > & in_values, T * out_values, const std::vector< int > & sizes, int root);
Parameters: |
|