#include <mpi.h>
#include <numeric>
#include <algorithm>
#include "mpi_bindings.h"
#include "mpi_utils.h"
#include "binomial.h"
Go to the source code of this file.
|
| cluster |
| Namespace for everything in the cluster library.
|
|
|
template<class T > |
void | gather_packed (const T &src, std::vector< char > &dest, const binomial_embedding binomial, MPI_Comm comm) |
| Packs and gathers a buffer full of packed representation of src's. More...
|
|
template<class T > |
void | unpack_binomial (const std::vector< char > &src, std::vector< T > &dest, const binomial_embedding binomial, MPI_Comm comm) |
| Unpacks a packed vector in binomial order into objects in rank order in the destination vector. More...
|
|
template<class T > |
void | gather (const T &src, std::vector< T > &dest, MPI_Comm comm, int root=0) |
| Binomial gather of char buffers into a single agglomerated clump of buffers. More...
|
|
template<class T > |
void | allgather (const T &src, std::vector< T > &dest, MPI_Comm comm, int root=0) |
| Allgather for variable-length data. More...
|
|