STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Static Public Member Functions
stapl::paragraph_impl::compute_tid_mapper_type< Factory, NumViews, Sequence, b > Struct Template Reference

Extracts the key mapper type from the Factory class if it is defined. More...

Static Public Member Functions

template<typename ViewSet >
static detail::default_key_mapper< size_t > apply (Factory const &f, ViewSet const &)
 

Detailed Description

template<typename Factory, size_t NumViews, typename Sequence = make_index_sequence<NumViews>, bool b = has_task_id_mapper_type<Factory>::value>
struct stapl::paragraph_impl::compute_tid_mapper_type< Factory, NumViews, Sequence, b >

Extracts the key mapper type from the Factory class if it is defined.

Template Parameters
FactoryFactory class of a task_graph instance.
NumViewsNumber of views passed to the PARAGRAPH.
Sequenceindex_sequence used for variadic expansion of views.
bIndicates if Factory defines task_id_mapper_type.

This default case for factories that don't specify the type.

Template Parameters
FactoryFactory class of a task_graph instance.
bIndicates if Factory defines task_id_mapper_type.

Factories that provide custom mapping of task ids to managing locations reflect the task_id_mapper_type and provide a get_task_id_mapper method that accepts the number of views the task_graph instance was given and returns the mapper object.


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