Factory implementing functional version of map_func which returns a view over the result of the mapping function applied to all elements. The input views are not mutated.
More...
|
struct | result |
| Reflect return type of map_factory . Passed view list in Signature which includes the arguments to function operator. More...
|
|
|
MapWF | m_wf |
| The user specified workfunction.
|
|
|
bool | m_finished |
| Stores whether the derived factory has finished specifying tasks.
|
|
template<typename MapWF, bool b_coarse = false>
struct stapl::composition::map_factory< MapWF, b_coarse >
Factory implementing functional version of map_func which returns a view over the result of the mapping function applied to all elements. The input views are not mutated.
- Template Parameters
-
MapWF | Type of the user provided workfunction. |
b_coarse | Boolean computed internally signifying whether MapWF is an elemental workfunction or one pre-coarsened by the user. |
◆ reset_view_indices()
void stapl::task_factory_base::reset_view_indices |
( |
| ) |
|
|
protectedinherited |
Reset the iterators over the view indices on this location.
This is used in factories where multiple tasks will be generated for each view element to be processed.
◆ 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 struct was generated from the following file: