STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::skeletons::skeletons_impl::gather< T, Span, Tag > Struct Template Reference

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 >()))
 

Detailed Description

template<typename T, typename Span, typename Tag>
struct stapl::skeletons::skeletons_impl::gather< T, Span, Tag >

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.

Template Parameters
Ttype of the element used in gather
Spanthe iteration space for elements on each level of both the reduction and the broadcast tree.
Tagdetermines the type of the gather skeleton

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