STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::nested_parent_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 parent's input port to a child PARAGRAPH. More...

Public Member Functions

domain_type domain () const
 
 nested_parent_pg_view_subview (std::vector< std::size_t > producer_pin_ids, rmi_handle::reference parent_ec_handle, 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. If the first location in nested section, 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
 Debug method exposed to external code to verify that it's calling set_num_succs and consuming from the mapped location. More...
 

Public Types

using is_pg_port_view = void
 
using value_type = T
 
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_parent_pg_view_subview< T, OptionalParams >

View class used as input to a nested paragraph created via add_task to setup dataflow from a parent's input port to a child PARAGRAPH.

Member Function Documentation

◆ initialize_flow()

template<typename T , typename ... OptionalParams>
void stapl::nested_parent_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. If the first location in nested section, initiate creation of edge from producer via the parent paragraph's directory of nested_pg handles.

◆ assert_perfect_placement()

template<typename T , typename ... OptionalParams>
void stapl::nested_parent_pg_view_subview< T, OptionalParams >::assert_perfect_placement ( index_type  producer_tid) const

Debug method exposed to external code to verify that it's calling set_num_succs and consuming from the mapped location.


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