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. | |
Aggregator for ordered and unordered broadcast requests.
If an ordered broadcast is requested, then all previously aggregated requests are flushed, otherwise they are not.
stapl::runtime::bcast_aggregator::bcast_aggregator | ( | context & | ctx, |
Handle const & | h, | ||
const bool | ordered = true |
||
) |
Create a new bcast_aggregator.
ctx | Current context. |
h | Destination object handle. |
ordered | true if the request is ordered, otherwise false . |