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_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 |
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 > |
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.
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.
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.