fpmas 1.6
Classes | Namespaces | Functions
communication.h File Reference
#include <cstdint>
#include <string>
#include <unordered_map>
#include "fpmas/utils/log.h"
#include "fpmas/api/communication/communication.h"
#include "fpmas/io/json_datapack.h"
Include dependency graph for communication.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fpmas::communication::MpiCommunicatorBase
 
class  fpmas::communication::MpiCommunicator
 
class  fpmas::communication::MpiCommWorld
 
class  fpmas::communication::detail::TypedMpi< T, PackType >
 
struct  fpmas::communication::TypedMpi< T >
 

Namespaces

namespace  fpmas
 
namespace  fpmas::communication
 

Functions

void fpmas::init (int argc, char **argv)
 
template<typename T , typename BinaryOp = std::plus<T>>
fpmas::communication::reduce (api::communication::TypedMpi< T > &mpi, int root, const T &data, BinaryOp binary_op=BinaryOp())
 
template<typename T , typename BinaryOp = std::plus<T>>
fpmas::communication::all_reduce (api::communication::TypedMpi< T > &mpi, const T &data, BinaryOp binary_op=BinaryOp())
 

Detailed Description

Communication implementation.