Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VW::all_reduce_sockets Class Reference

#include <allreduce.h>

Inheritance diagram for VW::all_reduce_sockets:
VW::all_reduce_base

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from VW::all_reduce_base
const size_t total
 
const size_t node
 
bool quiet
 

Constructor & Destructor Documentation

◆ all_reduce_sockets()

VW::all_reduce_sockets::all_reduce_sockets ( std::string  pspan_server,
const int  pport,
const size_t  punique_id,
size_t  ptotal,
const size_t  pnode,
bool  pquiet 
)
inline

◆ ~all_reduce_sockets()

VW::all_reduce_sockets::~all_reduce_sockets ( )
overridedefault

Member Function Documentation

◆ all_reduce()

template<class T , void(*)(T &, const T &) f>
void VW::all_reduce_sockets::all_reduce ( T *  buffer,
const size_t  n,
VW::io::logger logger 
)
inline

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