Skip to content

MPIDistribution::IterationState

#include <sbio/execution/mpi.hh>
class IterationState

Defined in src/lib/sbio/execution/mpi.hh:264

Name Description
MPIDistribution

friend class MPIDistribution

Defined in src/lib/sbio/execution/mpi.hh:271

Return Name Description
IterationState inline

inline

inline IterationState()

Defined in src/lib/sbio/execution/mpi.hh:266

Return Name Description
std::size_t m_event_idx The rank-local event/step index counter for distribution.
std::size_t m_batch_window_start The first step of current capacity window (for batch distribution).
std::size_t m_batch_round The number of batches distributed for current winodw.
std::size_t m_batch_blocks_before The number of blocks dealt in the windows before the current one.
bool m_exhausted Latch for if the trigger reported no more data.
bool m_participating Whether this rank is in a loop with this state.
bool m_departed Latch for if this rank left the iteration early.
std::vector< char > m_node_departed Which node ranks left the iteration early.
int m_tag Message tag of this iteration (in the order states are created on each rank).

std::size_t m_event_idx { 0 }

Defined in src/lib/sbio/execution/mpi.hh:276

The rank-local event/step index counter for distribution.


std::size_t m_batch_window_start { 0 }

Defined in src/lib/sbio/execution/mpi.hh:281

The first step of current capacity window (for batch distribution).


std::size_t m_batch_round { 0 }

Defined in src/lib/sbio/execution/mpi.hh:286

The number of batches distributed for current winodw.


std::size_t m_batch_blocks_before { 0 }

Defined in src/lib/sbio/execution/mpi.hh:291

The number of blocks dealt in the windows before the current one.


bool m_exhausted { false }

Defined in src/lib/sbio/execution/mpi.hh:293

Latch for if the trigger reported no more data.


bool m_participating { false }

Defined in src/lib/sbio/execution/mpi.hh:294

Whether this rank is in a loop with this state.


bool m_departed { false }

Defined in src/lib/sbio/execution/mpi.hh:295

Latch for if this rank left the iteration early.


std::vector< char > m_node_departed {}

Defined in src/lib/sbio/execution/mpi.hh:302

Which node ranks left the iteration early.


int m_tag { 0 }

Defined in src/lib/sbio/execution/mpi.hh:307

Message tag of this iteration (in the order states are created on each rank).

Return Name Description
int next_tag static

static

int next_tag { 0 }

Defined in src/lib/sbio/execution/mpi.hh:308