MPIDistribution::IterationState
IterationState
Section titled “IterationState”#include <sbio/execution/mpi.hh>class IterationStateDefined in src/lib/sbio/execution/mpi.hh:264
Friends
Section titled “Friends”| Name | Description |
|---|---|
MPIDistribution |
MPIDistribution
Section titled “MPIDistribution”friend class MPIDistributionDefined in src/lib/sbio/execution/mpi.hh:271
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
IterationState inline |
IterationState
Section titled “IterationState”inline
inline IterationState()Defined in src/lib/sbio/execution/mpi.hh:266
Private Attributes
Section titled “Private Attributes”| 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). |
m_event_idx
Section titled “m_event_idx”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.
m_batch_window_start
Section titled “m_batch_window_start”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).
m_batch_round
Section titled “m_batch_round”std::size_t m_batch_round { 0 }Defined in src/lib/sbio/execution/mpi.hh:286
The number of batches distributed for current winodw.
m_batch_blocks_before
Section titled “m_batch_blocks_before”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.
m_exhausted
Section titled “m_exhausted”bool m_exhausted { false }Defined in src/lib/sbio/execution/mpi.hh:293
Latch for if the trigger reported no more data.
m_participating
Section titled “m_participating”bool m_participating { false }Defined in src/lib/sbio/execution/mpi.hh:294
Whether this rank is in a loop with this state.
m_departed
Section titled “m_departed”bool m_departed { false }Defined in src/lib/sbio/execution/mpi.hh:295
Latch for if this rank left the iteration early.
m_node_departed
Section titled “m_node_departed”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).
Private Static Attributes
Section titled “Private Static Attributes”| Return | Name | Description |
|---|---|---|
int |
next_tag static |
next_tag
Section titled “next_tag”static
int next_tag { 0 }Defined in src/lib/sbio/execution/mpi.hh:308