STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Public Attributes
stapl::dist_spec_impl::part_contains_gid Struct Reference

Work function to determine if the partition information contains the desired GID. This is used as the map operation in a map_reduce to determine which partition of an arbitrary distribution specification contains the desired GID as part of the mapping of a GID to its partition id. More...

Public Member Functions

 part_contains_gid (unsigned long int gid)
 
template<typename PartInfo , typename Index >
result_type operator() (PartInfo part, Index i)
 

Public Types

typedef std::pair< unsigned long int, bool > result_type
 

Public Attributes

unsigned long int m_gid
 

Detailed Description

Work function to determine if the partition information contains the desired GID. This is used as the map operation in a map_reduce to determine which partition of an arbitrary distribution specification contains the desired GID as part of the mapping of a GID to its partition id.


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