STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
Functions
+ Collaboration diagram for Input Resizing Parametric:

Functions

template<bool pos_aware, bool SetResult = false, typename Op , typename Filter = skeletons::no_filter>
skeletons_impl::expand_from_pow_two_pd< Op, Filter, pos_aware, SetResult > stapl::skeletons::expand_from_pow_two_pd (Op const &op, Filter const &filter=Filter())
 Creates a expand from power of two parametric dependencies given a op. More...
 
template<typename Op >
skeletons_impl::reduce_to_pow_two_pd< Op > stapl::skeletons::reduce_to_pow_two_pd (Op const &op)
 Creates a reduce to power of two parametric dependency given a op. More...
 

Detailed Description

Dependencies

Function Documentation

◆ expand_from_pow_two_pd()

template<bool pos_aware, bool SetResult = false, typename Op , typename Filter = skeletons::no_filter>
skeletons_impl::expand_from_pow_two_pd<Op, Filter, pos_aware, SetResult> stapl::skeletons::expand_from_pow_two_pd ( Op const &  op,
Filter const &  filter = Filter() 
)

Creates a expand from power of two parametric dependencies given a op.

This parametric dependency is used in the postprocessing phase of various algorithms that only accept power-of-two input sizes.

Parameters
opthe workfunction to be applied on the inputs
Template Parameters
pos_awarewhether op needs to know the position of the created element in the dependence graph

◆ reduce_to_pow_two_pd()

template<typename Op >
skeletons_impl::reduce_to_pow_two_pd<Op> stapl::skeletons::reduce_to_pow_two_pd ( Op const &  op)

Creates a reduce to power of two parametric dependency given a op.

This parametric dependency is used in the preprocessing phase of various algorithms that only accept power-of-two input sizes.

Parameters
opthe workfunction to be used in the reducing nodes