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

Handle for distributed memory collective operations. More...

Public Member Functions

 collective (id i, topology const &t)
 
void try_destroy (void) noexcept
 
id const & get_id (void) const noexcept
 
topology const & get_topology (void) const noexcept
 
void notify_arrival (message_shared_ptr &sm)
 Notifies that sm has arrived from a child process.
 
template<typename Function >
message_slist try_collect (Function &&f)
 Returns the messages from children if they have all arrived or sets f as a notifier to be called when they have arrived.
 

Static Public Member Functions

static collectiveget (id const &, topology const &)
 Returns a reference to the requested collective.
 
static collectiveget (id const &)
 Returns a reference to the requested collective.
 

Public Types

using id = std::pair< gang_id, collective_id >
 

Detailed Description

Handle for distributed memory collective operations.


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