WARPXM v1.10.0
|
#include <synchronizer.h>
Public Member Functions | |
rank_synchronizer_t (const WmDomain &domain) | |
Constructor. | |
virtual | ~rank_synchronizer_t () |
Destructor. | |
virtual void | add_component (wxm::variable::distributed_variable_t &variable, const int component_index)=0 |
Add a component to the synchronization. | |
virtual void | sync ()=0 |
Blocking sync call. | |
virtual void | sync_nb ()=0 |
Non-blocking sync call Initiates the recv buffer and sends remote data out. | |
virtual void | sync_nb_wait ()=0 |
Blocking sync wait call Transmits local data, and waits until remote recv is complete. | |
Protected Attributes | |
const WmDomain & | _domain |
Domain object. | |
|
inline |
Constructor.
domain | Domain object |
|
inlinevirtual |
Destructor.
Reimplemented in wxm::dfem::sync::rank_synchronizer_t.
|
pure virtual |
Add a component to the synchronization.
Cannot add new variables after sync has been called
variable | Variable to sync |
component_index | Component of interest |
Implemented in wxm::dfem::sync::rank_synchronizer_t, and wxm::dfem::sync::UniqueVariableRankSynchronizer.
|
pure virtual |
Blocking sync call.
Implemented in wxm::dfem::sync::rank_synchronizer_t, and wxm::dfem::sync::UniqueVariableRankSynchronizer.
|
pure virtual |
Non-blocking sync call Initiates the recv buffer and sends remote data out.
Implemented in wxm::dfem::sync::rank_synchronizer_t, and wxm::dfem::sync::UniqueVariableRankSynchronizer.
|
pure virtual |
Blocking sync wait call Transmits local data, and waits until remote recv is complete.
Implemented in wxm::dfem::sync::rank_synchronizer_t, and wxm::dfem::sync::UniqueVariableRankSynchronizer.
|
protected |
Domain object.