STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::runtime::bcast_aggregator Class Reference

Aggregator for ordered and unordered broadcast requests. More...

Public Member Functions

template<typename Handle >
 bcast_aggregator (context &ctx, Handle const &h, const bool ordered=true)
 Create a new bcast_aggregator. More...
 
void * allocate (const std::size_t n)
 Allocates n bytes for storing a request.
 

Detailed Description

Aggregator for ordered and unordered broadcast requests.

If an ordered broadcast is requested, then all previously aggregated requests are flushed, otherwise they are not.

Constructor & Destructor Documentation

◆ bcast_aggregator()

template<typename Handle >
stapl::runtime::bcast_aggregator::bcast_aggregator ( context ctx,
Handle const &  h,
const bool  ordered = true 
)

Create a new bcast_aggregator.

Parameters
ctxCurrent context.
hDestination object handle.
orderedtrue if the request is ordered, otherwise false.

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