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

Aggregator for RPC requests to all locations in shared memory. More...

Public Member Functions

 managed_locations_rpc_aggregator (gang_md &g, const context::epoch_type epoch) noexcept
 Create a new managed_locations_rpc_aggregator. More...
 
template<typename Range >
 managed_locations_rpc_aggregator (gang_md &g, Range &&r, const context::epoch_type epoch) noexcept
 Create a new managed_locations_rpc_aggregator. More...
 
void * allocate (const std::size_t n)
 Allocates n bytes for storing a request.
 

Detailed Description

Aggregator for RPC requests to all locations in shared memory.

It flushes requests by default when destroyed.

Constructor & Destructor Documentation

◆ managed_locations_rpc_aggregator() [1/2]

stapl::runtime::managed_locations_rpc_aggregator::managed_locations_rpc_aggregator ( gang_md g,
const context::epoch_type  epoch 
)
noexcept

Create a new managed_locations_rpc_aggregator.

It sends the requests to all locally managed locations.

Parameters
gDestination gang.
epochCurrent epoch.

◆ managed_locations_rpc_aggregator() [2/2]

template<typename Range >
stapl::runtime::managed_locations_rpc_aggregator::managed_locations_rpc_aggregator ( gang_md g,
Range &&  r,
const context::epoch_type  epoch 
)
noexcept

Create a new managed_locations_rpc_aggregator.

Parameters
gDestination gang.
rLocally managed destination locations.
epochCurrent epoch.

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