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

The workfunction used in flat and hybrid alltoall for merging the incoming messages. More...

Public Member Functions

 alltoall_merge (indices_t const &indices)
 
template<typename V1 , typename V2 >
result_type operator() (V1 &&v1, V2 &&v2) const
 

Public Types

typedef std::vector< T > result_type
 

Detailed Description

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

The workfunction used in flat and hybrid alltoall for merging the incoming messages.

Alltoall in STAPL can be done in at least three ways (1) butterfly-based (alltoall_butterfly_merge), (2) flat in which all participants communicate with each other in only one level, (3) hybrid which combines the ideas of butterfly and flat.

In the latter two cases, the merging of the incoming messages happens using the following workfunction. The corresponding filter for this workfunction is alltoall_filter.


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