STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Static Public Member Functions | Public Types
stapl::paragraph_impl::compute_demotion_wf< WF > Struct Template Reference

Functor that recovers the original workfunction passed to task creation prior to any wrappers to support the promotion of localized return values. More...

Static Public Member Functions

static result_type apply (WF const &wf)
 

Public Types

typedef WF result_type
 

Detailed Description

template<typename WF>
struct stapl::paragraph_impl::compute_demotion_wf< WF >

Functor that recovers the original workfunction passed to task creation prior to any wrappers to support the promotion of localized return values.

Template Parameters
WFThe type of the workfunction that is held in a Task that may have been transformed to support promotion.

The functor supports task migration, allowing the original workfunction to be recovered to be paired with the original, non localized viewset. Localization will be attempted again on the new execution location, once migration has completed.

Primary template matches case where promote_wf wrapper was not applied. Return the input parameter.


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