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 |
| F | get_filter () const |
Public Types | |
| using | indices_type = IndicesType |
| using | value_type = ValueType |
| using | filter_type = 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.
| ValueType | the type of the producer edge |
| IndicesType | the type of producer's indices. For a 1D view this would as simple as size_t |
| F | the filter that can be applied on the request on the producer side |
1.8.13