This binary tree parametric dependency is one of the several possible parametric dependencies that can be used in a binary tree. This parametric dependency is used with tree in order to create reduction trees. This parametric dependency can have different layouts which are determined by the given Tag.
More...
|
|
| binary_tree_pd (Op op) |
| |
|
template<typename... Args> |
| void | case_of (Args &&... args) const |
| | Dispatches the case_of request to the appropriate implementation based on the given tag.
|
| |
| template<typename Size , typename Coord , typename FlowIndex > |
| std::size_t | consumer_count (Size const &, Coord const &, FlowIndex) const |
| | determines how many of the instances of this parametric dependency will be consuming from a producer with a given coordinate. This is a reverse query as compared to case_of. More...
|
| |
|
Op | get_op () const |
| |
|
template<typename Coord > |
| int | get_result_id (Coord const &, Coord const &) const |
| |
|
template<typename Coord , typename Span > |
| void | configure (Coord &&, Span &&) |
| |
|
|
static constexpr std::size_t | in_port_size = 1 |
| |
|
static constexpr std::size_t | op_arity = 2 |
| |
template<typename Op, typename Tag>
class stapl::skeletons::skeletons_impl::binary_tree_pd< Op, Tag >
This binary tree parametric dependency is one of the several possible parametric dependencies that can be used in a binary tree. This parametric dependency is used with tree in order to create reduction trees. This parametric dependency can have different layouts which are determined by the given Tag.
- Template Parameters
-
| Op | the workfunction to be applied on each pair of elements |
| Tag | determines the layout of the binary tree. |
- See also
- tree
◆ consumer_count()
template<typename Op , typename Tag >
template<typename Size , typename Coord , typename FlowIndex >
determines how many of the instances of this parametric dependency will be consuming from a producer with a given coordinate. This is a reverse query as compared to case_of.
- Template Parameters
-
| FlowIndex | the flow index to which this request is sent |
The documentation for this class was generated from the following file: