Responsible for initializing the termination detection object that the PARAGRAPH's executor employs to determine when the local computation for the PARAGRAPH is completed.Partial specialization of this class provides a mechanism to customize the termination detection algorithm of a given PARAGRAPH.
More...
|
template<typename SVS > |
void | operator() (task_graph &tg, SVS &, boost::optional< terminator_t > &t) const |
| Signature function operator that creates a termination detection object in the paragraph constructor. More...
|
|
template<typename FactoryTag>
struct stapl::detail::terminator_initializer< FactoryTag >
Responsible for initializing the termination detection object that the PARAGRAPH's executor employs to determine when the local computation for the PARAGRAPH is completed.
Partial specialization of this class provides a mechanism to customize the termination detection algorithm of a given PARAGRAPH.
- Template Parameters
-
Factory | The factory type of the associated PARAGRAPH. Unused in the class definition, but allows class specialization based on this type. |
◆ operator()()
template<typename FactoryTag >
template<typename SVS >
Signature function operator that creates a termination detection object in the paragraph constructor.
- Parameters
-
tg | The associated PARAGRAPH instance. |
svs | The post data coarsening input views of the PARAGRAPH. |
t | Uninitialized terminator stored in paragraph. Initialized in this call as desired. |
The documentation for this struct was generated from the following file: