STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::add_task_helper< WF, dynamic > Struct Template Reference

Functor used to call paragraph_impl::paragraph_view::add_task() from PARAGRAPH factories. More...

Public Member Functions

template<typename TGV , typename SchedInfo , typename MapWF , typename ... V>
void operator() (TGV const &tgv, SchedInfo const &sched_info, MapWF const &wf, V const &... v)
 
template<typename TGV , typename MapWF , typename ... V>
void operator() (TGV const &tgv, std::size_t const &tid, MapWF const &wf, std::size_t const &num_succs, V const &... v)
 

Detailed Description

template<typename WF, bool dynamic = std::is_base_of<dynamic_wf, WF>::value>
struct stapl::add_task_helper< WF, dynamic >

Functor used to call paragraph_impl::paragraph_view::add_task() from PARAGRAPH factories.

This is necessary to provide an interface that is independent of whether the work function used as the task operation is dynamic or not.


The documentation for this struct was generated from the following file: