STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Static Public Attributes | Protected Types
stapl::skeletons::skeletons_impl::skeleton_traits< tuple< OptionalPreParams... >, OptionalParams... > Class Template Reference

Skeleton traits define configurable properties of a skeleton. More...

Public Member Functions

 skeleton_traits (filter_type const &filter, mapper_type const &mapper)
 
 skeleton_traits (filter_type const &filter)
 
filter_type const & get_filter () const
 
mapper_type const & get_mapper () const
 

Public Types

using span_type = typename tuple_element< 0, pre_param_types >::type
 
using flows_type = typename tuple_element< 2, pre_param_types >::type
 
using filter_type = typename tuple_element< 0, param_types >::type
 
using mapper_type = typename tuple_element< 1, param_types >::type
 

Static Public Attributes

static constexpr bool set_result
 

Protected Types

using default_pre_param_types = tuple< stapl::use_default, std::integral_constant< bool, false >, stapl::use_default >
 
using pre_param_types = typename compute_type_parameters< default_pre_param_types, OptionalPreParams... >::type
 
using default_param_types = tuple< skeletons::no_filter, skeletons::no_mapper >
 
using param_types = typename compute_type_parameters< default_param_types, OptionalParams... >::type
 

Detailed Description

template<typename... OptionalPreParams, typename... OptionalParams>
class stapl::skeletons::skeletons_impl::skeleton_traits< tuple< OptionalPreParams... >, OptionalParams... >

Skeleton traits define configurable properties of a skeleton.

Template Parameters
OptionalPreParamsthis set of parameters contains the configurations for which only their types are needed: 1. Span - the span to be used for the associated skeleton. 2. SetResult - whether all the tasks generated for the associated skeleton should be considered result tasks. 3. Flows - the port-mapping to be used for the associated skeletons
OptionalParams...this set of parameters contains the configurations for which both their types and their values are needed: 1. Filter - the filter to be used for the associated skeleton. 2. Mapper - the mapper to be used for the associated skeleton.

Member Data Documentation

◆ set_result

template<typename... OptionalPreParams, typename... OptionalParams>
constexpr bool stapl::skeletons::skeletons_impl::skeleton_traits< tuple< OptionalPreParams... >, OptionalParams... >::set_result
static
Initial value:
=
tuple_element<1, pre_param_types>::type::value

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