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::allgather< T, Span, Tag > Struct Template Reference

This class abstracts the semantics of an allgather 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 base_type = decltype(skeletons::allreduce< Tag, Span >(gather_impl::gather_op< T >()))
 
using skeleton_tag_type = tags::allgather< Tag >
 

Detailed Description

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

This class abstracts the semantics of an allgather skeleton by exposing only the necessary information in its representation.

An allgather skeleton gathers data from all partitions and distributes the combined data to all partitions.

This abstraction not only makes the reconstruction of an allgather skeleton easier, but also provides access to the underlying operations of the enclosed reduction operation. Furthermore, it reduces the symbol size for an allgather skeleton, hence, reducing the total compilation time.

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

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