Vowpal Wabbit
|
#include <allreduce.h>
Public Member Functions | |
AllReduceSync (const size_t total) | |
~AllReduceSync () | |
void | waitForSynchronization () |
Public Attributes | |
void ** | buffers |
Private Attributes | |
std::mutex * | m_mutex |
std::condition_variable * | m_cv |
size_t | m_total |
uint32_t | m_count |
bool | m_run |
Definition at line 98 of file allreduce.h.
AllReduceSync::AllReduceSync | ( | const size_t | total | ) |
AllReduceSync::~AllReduceSync | ( | ) |
void AllReduceSync::waitForSynchronization | ( | ) |
Definition at line 26 of file allreduce_threads.cc.
References m_count, m_cv, m_mutex, m_run, and m_total.
Referenced by AllReduceThreads::all_reduce().
void** AllReduceSync::buffers |
Definition at line 120 of file allreduce.h.
Referenced by AllReduceThreads::all_reduce(), AllReduceSync(), and ~AllReduceSync().
|
private |
Definition at line 108 of file allreduce.h.
Referenced by waitForSynchronization().
|
private |
Definition at line 102 of file allreduce.h.
Referenced by AllReduceSync(), waitForSynchronization(), and ~AllReduceSync().
|
private |
Definition at line 101 of file allreduce.h.
Referenced by AllReduceSync(), waitForSynchronization(), and ~AllReduceSync().
|
private |
Definition at line 111 of file allreduce.h.
Referenced by waitForSynchronization().
|
private |
Definition at line 105 of file allreduce.h.
Referenced by waitForSynchronization().