STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::nested_pg_view_subview< T, OptionalParams > Class Template Reference

View class used as input to a nested paragraph created via add_task to setup dataflow from a producer, sibling paragraph. More...

Public Member Functions

domain_type domain (void) const
 
 nested_pg_view_subview (std::size_t pred_tid, param_types params)
 
void initialize_flow (task_graph &tg) const
 Called in constructor of nested PARAGRAPH. Create edge_container to hold in flow from ports. Initiate creation of edge from producer via the parent paragraph's directory of nested_pg handles. More...
 
edge_containercontainer (void) const
 
edge_containeredges (void) const
 
void set_num_succs (index_type producer_tid, size_t num_succs) const
 Called in consuming paragraph's factory (or another dynamic task) to initialize out-degree / fan out of each input port for this view.
 
void assert_perfect_placement (index_type producer_tid) const
 

Public Types

using value_type = typename boost::result_of< value_filter_t(T)>::type
 
using is_pg_port_view = void
 
using reference = typename base_view::reference
 
using const_reference = typename base_view::reference
 
using index_type = typename base_view::index_type
 
using gid_type = index_type
 
using domain_type = indexed_domain< value_type >
 

Detailed Description

template<typename T, typename ... OptionalParams>
class stapl::nested_pg_view_subview< T, OptionalParams >

View class used as input to a nested paragraph created via add_task to setup dataflow from a producer, sibling paragraph.

Template Parameters
TThe elementary value type that will be flowed.
OptionalParamsOptional parameters to control dataflow. Currently: (1) PortFilter - boolean functor queried to see if pin should be flowed. (2) ValueFilter - functor applied to produced value prior to dataflow. (3) PinLocationMapper - maps producer pin to location in this consumer where it should be flowed.

Member Typedef Documentation

◆ const_reference

template<typename T , typename ... OptionalParams>
using stapl::nested_pg_view_subview< T, OptionalParams >::const_reference = typename base_view::reference

◆ domain_type

template<typename T , typename ... OptionalParams>
using stapl::nested_pg_view_subview< T, OptionalParams >::domain_type = indexed_domain<value_type>

Member Function Documentation

◆ initialize_flow()

template<typename T , typename ... OptionalParams>
void stapl::nested_pg_view_subview< T, OptionalParams >::initialize_flow ( task_graph tg) const

Called in constructor of nested PARAGRAPH. Create edge_container to hold in flow from ports. Initiate creation of edge from producer via the parent paragraph's directory of nested_pg handles.


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