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

Performs a barrier over the processes specified by the topology object. More...

Public Member Functions

template<typename Function >
 barrier (const gang_id gid, const collective_id cid, topology const &t, Function &&f)
 Constructs a barrier object. More...
 
void operator() (void)
 

Detailed Description

Performs a barrier over the processes specified by the topology object.

See also
collective

Constructor & Destructor Documentation

◆ barrier()

template<typename Function >
stapl::runtime::barrier::barrier ( const gang_id  gid,
const collective_id  cid,
topology const &  t,
Function &&  f 
)

Constructs a barrier object.

Parameters
gidId of the gang the collective executes in.
cidCollective operation id.
ttopology object associated with the gang.
fFunction to call when all processes have reached the barrier.

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