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_container & | container (void) const |
edge_container & | edges (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 > |
View class used as input to a nested paragraph created via add_task
to setup dataflow from a producer, sibling paragraph.
T | The elementary value type that will be flowed. |
OptionalParams | Optional 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. |
using stapl::nested_pg_view_subview< T, OptionalParams >::const_reference = typename base_view::reference |
using stapl::nested_pg_view_subview< T, OptionalParams >::domain_type = indexed_domain<value_type> |
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.