STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::skeletons::flows::indexed_producers< ValueType, IndicesType, F > Class Template Reference

A indexed_producers is used as a wrapper for indexable producers in a dependence graph. This class offers the possibility of a filtered request from a producer. More...

Public Member Functions

 indexed_producers (IndicesType const &indices, F const &filter_func)
 
 indexed_producers (IndicesType const &indices)
 
IndicesType get_indices () const
 
get_filter () const
 

Public Types

using indices_type = IndicesType
 
using value_type = ValueType
 
using filter_type = F
 

Detailed Description

template<typename ValueType, typename IndicesType, typename F>
class stapl::skeletons::flows::indexed_producers< ValueType, IndicesType, F >

A indexed_producers is used as a wrapper for indexable producers in a dependence graph. This class offers the possibility of a filtered request from a producer.

The difference between this producer class and the non-plural one indexed_producer is in the fact that multiple dependencies in this case are grouped to form one dependency. In dataflow terminology this construct is called a joiner.

Producer information is then used in various environments in order to create tasks, create visualization of dependence graphs, etc.

Template Parameters
ValueTypethe type of the producer edge
IndicesTypethe type of producer's indices. For a 1D view this would as simple as size_t
Fthe filter that can be applied on the request on the producer side
See also
taskgraph_env.hpp
graphviz_env.hpp
local_env.hpp

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