Bolt
1.3
C++ template library with support for OpenCL
|
Functions | |
template<typename InputIterator , typename OutputIterator , typename UnaryFunction , typename BinaryFunction > | |
OutputIterator | bolt::amp::transform_inclusive_scan (control &ctl, InputIterator first, InputIterator last, OutputIterator result, UnaryFunction unary_op, BinaryFunction binary_op) |
transform_inclusive_scan performs, on a sequence, the transformation defined by a unary operator, then the inclusive scan defined by a binary operator. | |
template<typename InputIterator , typename OutputIterator , typename UnaryFunction , typename BinaryFunction > | |
OutputIterator | bolt::amp::transform_inclusive_scan (InputIterator first, InputIterator last, OutputIterator result, UnaryFunction unary_op, BinaryFunction binary_op) |
template<typename InputIterator , typename OutputIterator , typename UnaryFunction , typename T , typename BinaryFunction > | |
OutputIterator | bolt::amp::transform_exclusive_scan (control &ctl, InputIterator first, InputIterator last, OutputIterator result, UnaryFunction unary_op, T init, BinaryFunction binary_op) |
transform_exclusive_scan performs, on a sequence, the transformation defined by a unary operator, then the exclusive scan defined by a binary operator. | |
template<typename InputIterator , typename OutputIterator , typename UnaryFunction , typename T , typename BinaryFunction > | |
OutputIterator | bolt::amp::transform_exclusive_scan (InputIterator first, InputIterator last, OutputIterator result, UnaryFunction unary_op, T init, BinaryFunction binary_op) |
OutputIterator bolt::amp::transform_exclusive_scan | ( | control & | ctl, |
InputIterator | first, | ||
InputIterator | last, | ||
OutputIterator | result, | ||
UnaryFunction | unary_op, | ||
T | init, | ||
BinaryFunction | binary_op | ||
) |
transform_exclusive_scan
performs, on a sequence, the transformation defined by a unary operator, then the exclusive scan defined by a binary operator.
ctl | Optional Bolt control object, to describe the environment under which the function runs. |
first | The first element of the input sequence. |
last | The last element of the input sequence. |
result | The first element of the output sequence. |
unary_op | Unary operator for transformation. |
init | The value used to initialize the output scan sequence. |
binary_op | Binary operator for scanning transformed elements. |
InputIterator | is a model of Input Iterator. |
OutputIterator | is a model of Output Iterator. |
UnaryFunction | is a model of Unary Function which takes as input InputIterator's value_type and whose return type is convertible to BinaryFunction's input types. |
T | is convertible to OutputIterator's value_type. |
BinaryFunction | is a model of Binary Function which takes as input two values convertible from UnaryFunction's return type and whose return type is convertible to OutputIterator's value_type . |
OutputIterator bolt::amp::transform_inclusive_scan | ( | control & | ctl, |
InputIterator | first, | ||
InputIterator | last, | ||
OutputIterator | result, | ||
UnaryFunction | unary_op, | ||
BinaryFunction | binary_op | ||
) |
transform_inclusive_scan
performs, on a sequence, the transformation defined by a unary operator, then the inclusive scan defined by a binary operator.
ctl | Optional Bolt control object, to describe the environment under which the function runs. |
first | The first element of the input sequence. |
last | The last element of the input sequence. |
result | The first element of the output sequence. |
unary_op | Unary operator for transformation. |
binary_op | Binary operator for scanning transformed elements. |
InputIterator | is a model of Input Iterator. |
OutputIterator | is a model of Output Iterator. |
UnaryFunction | is a model of Unary Function which takes as input InputIterator's value_type and whose return type is convertible to BinaryFunction's input types. |
BinaryFunction | is a model of Binary Function which takes as input two values convertible from UnaryFunction's return type and whose return type is convertible to OutputIterator's value_type . |