Vowpal Wabbit
Public Member Functions | List of all members
AllReduceSockets Class Reference

#include <allreduce.h>

Inheritance diagram for AllReduceSockets:
AllReduce

Public Member Functions

 AllReduceSockets (std::string pspan_server, const int pport, const size_t punique_id, size_t ptotal, const size_t pnode, bool pquiet)
 
virtual ~AllReduceSockets ()=default
 
template<class T , void(*)(T &, const T &) f>
void all_reduce (T *buffer, const size_t n)
 
- Public Member Functions inherited from AllReduce
 AllReduce (size_t ptotal, const size_t pnode, bool pquiet=false)
 
virtual ~AllReduce ()=default
 

Additional Inherited Members

- Public Attributes inherited from AllReduce
const size_t total
 
const size_t node
 
bool quiet
 

Constructor & Destructor Documentation

AllReduceSockets::AllReduceSockets ( std::string  pspan_server,
const int  pport,
const size_t  punique_id,
size_t  ptotal,
const size_t  pnode,
bool  pquiet 
)
inline
virtual AllReduceSockets::~AllReduceSockets ( )
virtualdefault

Member Function Documentation

template<class T , void(*)(T &, const T &) f>
void AllReduceSockets::all_reduce ( T *  buffer,
const size_t  n 
)
inline

The documentation for this class was generated from the following file: