This class abstracts the semantics of a gather skeleton by exposing only the necessary information in its representation. More...
Public Member Functions | |
gather_impl::gather_op< T > | get_op (void) const |
Public Types | |
using | skeleton_tag_type = tags::gather< Tag > |
using | base_type = decltype(skeletons::reduce< Tag, Span >(gather_impl::gather_op< T >())) |
This class abstracts the semantics of a gather skeleton by exposing only the necessary information in its representation.
An gather skeletons gathers data from all partitions into one.
This abstraction not only makes the reconstruction of a gather skeleton easier, but also provides access to the underlying operations of the enclosed reduction operation. Furthermore, it reduces the symbol size for a gather skeleton, hence, reducing the total compilation time.
T | type of the element used in gather |
Span | the iteration space for elements on each level of both the reduction and the broadcast tree. |
Tag | determines the type of the gather skeleton |