Muster
 All Classes Namespaces Files Functions Variables Typedefs Macros
gather.h File Reference
#include <mpi.h>
#include <numeric>
#include <algorithm>
#include "mpi_bindings.h"
#include "mpi_utils.h"
#include "binomial.h"
Include dependency graph for gather.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cluster
 Namespace for everything in the cluster library.
 

Functions

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...
 
Muster. Copyright © 2010, Lawrence Livermore National Laboratory, LLNL-CODE-433662.
Distribution of Muster and its documentation is subject to terms of the Muster LICENSE.
Generated on Thu Sep 1 2016 using Doxygen 1.8.5