STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Protected Attributes
stapl::skeletons::spans::per_location Class Reference

A balanced span (. More...

Public Member Functions

template<bool forced = false, typename Spawner , typename... Views>
void set_size (Spawner const &spawner, Views const &... views)
 
template<typename Spawner , typename... Views>
void forced_set_size (Spawner const &spawner, Views const &... views)
 
std::vector< domain_typelocal_domain () const
 
template<typename Coord >
bool should_spawn (Coord const &, Coord const &) const
 
size_type dimensions () const
 
size_type total_dimension (void) const
 
size_type task_dimension (void) const
 
std::vector< size_type > level_dimensions (void) const
 
std::size_t size () const
 
std::size_t linearize (index_type const &coord) const
 

Public Types

using size_type = balanced<>::size_type
 
using dimension_type = balanced<>::dimension_type
 
using dims_num = std::integral_constant< int, 1 >
 
using domain_type = indexed_domain< std::size_t >
 
using index_type = domain_type::index_type
 

Protected Attributes

balanced_partition< domain_typem_partition
 
std::size_t m_cur_pid
 

Detailed Description

A balanced span (.

See also
balanced) in which each location will have exactly one element to spawn.

Member Function Documentation

◆ local_domain()

std::vector<domain_type> stapl::skeletons::spans::balanced< 1 >::local_domain ( ) const
inherited

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