Vowpal Wabbit
Functions
vw_allreduce.h File Reference
#include <cstddef>
#include "allreduce.h"
#include "global_data.h"

Functions

template<class T , void(*)(T &, const T &) f>
void all_reduce (vw &all, T *buffer, const size_t n)
 

Function Documentation

template<class T , void(*)(T &, const T &) f>
void all_reduce ( vw all,
T *  buffer,
const size_t  n 
)