Bolt
1.3
C++ template library with support for OpenCL
|
Functions | |
template<typename InputIterator , typename OutputIterator , typename UnaryFunction , typename BinaryFunction > | |
OutputIterator | bolt::cl::transform_inclusive_scan (bolt::cl::control &ctl, InputIterator first, InputIterator last, OutputIterator result, UnaryFunction unary_op, BinaryFunction binary_op, const std::string &user_code="") |
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::cl::transform_inclusive_scan (InputIterator first, InputIterator last, OutputIterator result, UnaryFunction unary_op, BinaryFunction binary_op, const std::string &user_code="") |
template<typename InputIterator , typename OutputIterator , typename UnaryFunction , typename T , typename BinaryFunction > | |
OutputIterator | bolt::cl::transform_exclusive_scan (bolt::cl::control &ctl, InputIterator first, InputIterator last, OutputIterator result, UnaryFunction unary_op, T init, BinaryFunction binary_op, const std::string &user_code="") |
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::cl::transform_exclusive_scan (InputIterator first, InputIterator last, OutputIterator result, UnaryFunction unary_op, T init, BinaryFunction binary_op, const std::string &user_code="") |
OutputIterator bolt::cl::transform_exclusive_scan | ( | bolt::cl::control & | ctl, |
InputIterator | first, | ||
InputIterator | last, | ||
OutputIterator | result, | ||
UnaryFunction | unary_op, | ||
T | init, | ||
BinaryFunction | binary_op, | ||
const std::string & | user_code = "" |
||
) |
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 control structure to control command-queue, debug, tuning, etc. See bolt::cl::control. |
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. |
user_code | A user-specified string that is prepended to the generated OpenCL kernel. |
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::cl::transform_inclusive_scan | ( | bolt::cl::control & | ctl, |
InputIterator | first, | ||
InputIterator | last, | ||
OutputIterator | result, | ||
UnaryFunction | unary_op, | ||
BinaryFunction | binary_op, | ||
const std::string & | user_code = "" |
||
) |
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 control structure to control command-queue, debug, tuning, etc. See bolt::cl::control. |
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. |
user_code | A user-specified string that is prepended to the generated OpenCL kernel. |
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 . |