This class abstracts the semantics of a filtered zip skeleton by exposing only the necessary information in its representation. More...
Public Member Functions | |
zip (op_type const &op, SkeletonTraits const &traits) | |
op_type | get_op (void) const |
filter_type | get_filter () const |
Public Types | |
using | skeleton_tag_type = tags::zip< stapl::use_default, Arity > |
using | op_type = Op |
using | filter_type = typename SkeletonTraits::filter_type |
Static Public Attributes | |
static constexpr bool | set_result = SkeletonTraits::set_result |
This class abstracts the semantics of a filtered zip skeleton by exposing only the necessary information in its representation.
A filtered zip skeleton is simply a parametric dependency that combines Arity
elements in each fine-grain computation and applies the filter on the produced result.
This skeleton is the most used skeleton used in several composed skeletons such as map (which is simply zip<1>), sink, etc.
This abstraction not only makes the reconstruction of a a zip skeleton easier, but also reduces the symbol size for a zip skeleton, hence, reducing the total compilation time.
Arity | the arity of the operation. |
Op | the operation to be applied on the input. |
SkeletonTraits | the traits to be used |