Set of active vertices during a traversal.
More...
|
|
| sparse_frontier (Set current, Set next) |
| |
| | __attribute__ ((always_inline)) inline void add(descriptor_type const &v) |
| | Mark a vertex as active in the next superstep. More...
|
| |
|
iterator | begin () |
| | Iterator to the first vertex in the frontier.
|
| |
|
iterator | end () |
| | Iterator to one past the last vertex in the frontier.
|
| |
|
void | advance (void) |
| | Advance the frontier by setting the next superstep's frontier to the current frontier.
|
| |
|
runtime::location_md const & | get_location_md (void) const noexcept |
| | Returns the location metadata of the location this object registered in.
|
| |
| runtime::location_md & | get_location_md (void) noexcept |
| | Returns the location metadata of the location this object registered in. noexcept More...
|
| |
|
|
rmi_handle::const_reference const & | get_rmi_handle (void) const noexcept |
| | Returns the associated rmi_handle.
|
| |
|
rmi_handle::reference const & | get_rmi_handle (void) noexcept |
| | Returns the associated rmi_handle.
|
| |
|
size_type | get_location_id (void) const noexcept |
| | Returns the location id of the local sub-object.
|
| |
|
size_type | get_num_locations (void) const noexcept |
| | Returns the number of locations of the gang of this p_object.
|
| |
| void | advance_epoch (void) |
| | Advances the epoch of the object. More...
|
| |
| void | unlock (void) |
| | Used by lock_guard functionality in method of derived classes to request atomicity with respect to incoming RMIs. More...
|
| |
| void | lock (void) |
| | Used by lock_guard functionality in method of derived classes to request atomicity with respect to incoming RMIs. More...
|
| |
| bool | try_lock (void) |
| | Attempt to maintain atomicity with respect to incoming RMIs. More...
|
| |
|
|
using | set_type = Set |
| |
|
using | descriptor_type = typename set_type::gid_type |
| |
|
using | iterator = typename set_type::iterator |
| |
|
using | size_type = rmi_handle::size_type |
| |
template<typename Set>
class stapl::sgl::sparse_frontier< Set >
Set of active vertices during a traversal.
- Template Parameters
-
| Set | The GID set type that will store the active vertices' GIDs |
◆ __attribute__()
Mark a vertex as active in the next superstep.
- Parameters
-
| The | GID of the vertex to add |
◆ get_location_md()
Returns the location metadata of the location this object registered in. noexcept
noexcept
◆ advance_epoch()
| void stapl::p_object::advance_epoch |
( |
void |
| ) |
|
|
inherited |
Advances the epoch of the object.
Advancing the epoch will flush any pending RMIs. It will also increase the epoch of the current gang if the object is not a named object.
◆ unlock()
| void stapl::p_object::unlock |
( |
void |
| ) |
|
|
inherited |
Used by lock_guard functionality in method of derived classes to request atomicity with respect to incoming RMIs.
Mutates counter in the associated runqueue.
◆ lock()
| void stapl::p_object::lock |
( |
void |
| ) |
|
|
inherited |
Used by lock_guard functionality in method of derived classes to request atomicity with respect to incoming RMIs.
Mutates counter in the associated runqueue.
◆ try_lock()
| bool stapl::p_object::try_lock |
( |
void |
| ) |
|
|
inherited |
Attempt to maintain atomicity with respect to incoming RMIs.
Mutates counter in the associated runqueue.
- Returns
true if the lock was able to be acquired. false if it is already locked.
The documentation for this class was generated from the following file: