Bolt
1.3
C++ template library with support for OpenCL
|
Functions | |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator > | |
OutputIterator | bolt::cl::inclusive_scan_by_key (control &ctl, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, const std::string &user_code="") |
inclusive_scan_by_key performs, on a sequence, an inclusive scan of each sub-sequence as defined by equivalent keys; the BinaryFunction in this version is plus(), and the BinaryPredicate is equal_to(). inclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum. | |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator > | |
OutputIterator | bolt::cl::inclusive_scan_by_key (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, const std::string &user_code="") |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename BinaryPredicate > | |
OutputIterator | bolt::cl::inclusive_scan_by_key (control &ctl, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryPredicate binary_pred, const std::string &user_code="") |
inclusive_scan_by_key performs, on a sequence, an inclusive scan of each sub-sequence as defined by equivalent keys; the BinaryFunction in this version is plus(). inclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum. | |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename BinaryPredicate > | |
OutputIterator | bolt::cl::inclusive_scan_by_key (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryPredicate binary_pred, const std::string &user_code="") |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename BinaryPredicate , typename BinaryFunction > | |
OutputIterator | bolt::cl::inclusive_scan_by_key (control &ctl, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryPredicate binary_pred, BinaryFunction binary_funct, const std::string &user_code="") |
inclusive_scan_by_key performs, on a sequence, an inclusive scan of each sub-sequence as defined by equivalent keys. inclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum. | |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename BinaryPredicate , typename BinaryFunction > | |
OutputIterator | bolt::cl::inclusive_scan_by_key (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryPredicate binary_pred, BinaryFunction binary_funct, const std::string &user_code="") |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator > | |
OutputIterator | bolt::cl::exclusive_scan_by_key (control &ctl, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, const std::string &user_code="") |
exclusive_scan_by_key performs, on a sequence, an exclusive scan of each sub-sequence as defined by equivalent keys; the BinaryFunction in this version is plus(), the BinaryPredicate is equal_to(), and init is 0. exclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum. | |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator > | |
OutputIterator | bolt::cl::exclusive_scan_by_key (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, const std::string &user_code="") |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename T > | |
OutputIterator | bolt::cl::exclusive_scan_by_key (control &ctl, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, T init, const std::string &user_code="") |
exclusive_scan_by_key performs, on a sequence, an exclusive scan of each sub-sequence as defined by equivalent keys; the BinaryFunction in this version is plus(), and the BinaryPredicate is equal_to(). exclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum. | |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename T > | |
OutputIterator | bolt::cl::exclusive_scan_by_key (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, T init, const std::string &user_code="") |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename T , typename BinaryPredicate > | |
OutputIterator | bolt::cl::exclusive_scan_by_key (control &ctl, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, T init, BinaryPredicate binary_pred, const std::string &user_code="") |
exclusive_scan_by_key performs, on a sequence, an exclusive scan of each sub-sequence as defined by equivalent keys; the BinaryFunction in this version is plus(). exclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum. | |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename T , typename BinaryPredicate > | |
OutputIterator | bolt::cl::exclusive_scan_by_key (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, T init, BinaryPredicate binary_pred, const std::string &user_code="") |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename T , typename BinaryPredicate , typename BinaryFunction > | |
OutputIterator | bolt::cl::exclusive_scan_by_key (control &ctl, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, T init, BinaryPredicate binary_pred, BinaryFunction binary_funct, const std::string &user_code="") |
exclusive_scan_by_key performs, on a sequence, an exclusive scan of each sub-sequence as defined by equivalent keys. exclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum. | |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename T , typename BinaryPredicate , typename BinaryFunction > | |
OutputIterator | bolt::cl::exclusive_scan_by_key (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, T init, BinaryPredicate binary_pred, BinaryFunction binary_funct, const std::string &user_code="") |
OutputIterator bolt::cl::exclusive_scan_by_key | ( | control & | ctl, |
InputIterator1 | first1, | ||
InputIterator1 | last1, | ||
InputIterator2 | first2, | ||
OutputIterator | result, | ||
const std::string & | user_code = "" |
||
) |
exclusive_scan_by_key
performs, on a sequence, an exclusive scan of each sub-sequence as defined by equivalent keys; the BinaryFunction in this version is plus(), the BinaryPredicate is equal_to(), and init is 0. exclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum.
ctl | Optional Control structure to control command-queue, debug, tuning, etc. See bolt::cl::control. |
first1 | The first element of the key sequence. |
last1 | The last element of the key sequence. |
first2 | The first element of the value sequence. |
result | The first element of the output sequence. |
user_code | A user-specified string that is preppended to the generated OpenCL kernel. |
InputIterator1 | is a model of Input Iterator. |
InputIterator2 | is a model of Input Iterator. |
OutputIterator | is a model of Output Iterator. |
OutputIterator bolt::cl::exclusive_scan_by_key | ( | control & | ctl, |
InputIterator1 | first1, | ||
InputIterator1 | last1, | ||
InputIterator2 | first2, | ||
OutputIterator | result, | ||
T | init, | ||
const std::string & | user_code = "" |
||
) |
exclusive_scan_by_key
performs, on a sequence, an exclusive scan of each sub-sequence as defined by equivalent keys; the BinaryFunction in this version is plus(), and the BinaryPredicate is equal_to(). exclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum.
ctl | Optional Control structure to control command-queue, debug, tuning, etc. See bolt::cl::control. |
first1 | The first element of the key sequence. |
last1 | The last element of the key sequence. |
first2 | The first element of the value sequence. |
result | The first element of the output sequence. |
init | The value used to initialize the output scan sequence. |
user_code | A user-specified string that is preppended to the generated OpenCL kernel. |
InputIterator1 | is a model of Input Iterator. |
InputIterator2 | is a model of Input Iterator. |
OutputIterator | is a model of Output Iterator. |
T | is convertible to OutputIterator's value_type. |
OutputIterator bolt::cl::exclusive_scan_by_key | ( | control & | ctl, |
InputIterator1 | first1, | ||
InputIterator1 | last1, | ||
InputIterator2 | first2, | ||
OutputIterator | result, | ||
T | init, | ||
BinaryPredicate | binary_pred, | ||
const std::string & | user_code = "" |
||
) |
exclusive_scan_by_key
performs, on a sequence, an exclusive scan of each sub-sequence as defined by equivalent keys; the BinaryFunction in this version is plus(). exclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum.
ctl | Optional Control structure to control command-queue, debug, tuning, etc. See bolt::cl::control. |
first1 | The first element of the key sequence. |
last1 | The last element of the key sequence. |
first2 | The first element of the value sequence. |
result | The first element of the output sequence. |
init | The value used to initialize the output scan sequence. |
binary_pred | Binary predicate which determines if two keys are equal. |
user_code | A user-specified string that is preppended to the generated OpenCL kernel. |
InputIterator1 | is a model of Input Iterator. |
InputIterator2 | is a model of Input Iterator. |
OutputIterator | is a model of Output Iterator. |
T | is convertible to OutputIterator's value_type. |
BinaryPredicate | is a model of Binary Predicate. |
OutputIterator bolt::cl::exclusive_scan_by_key | ( | control & | ctl, |
InputIterator1 | first1, | ||
InputIterator1 | last1, | ||
InputIterator2 | first2, | ||
OutputIterator | result, | ||
T | init, | ||
BinaryPredicate | binary_pred, | ||
BinaryFunction | binary_funct, | ||
const std::string & | user_code = "" |
||
) |
exclusive_scan_by_key
performs, on a sequence, an exclusive scan of each sub-sequence as defined by equivalent keys. exclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum.
ctl | Optional Control structure to control command-queue, debug, tuning, etc. See bolt::cl::control. |
first1 | The first element of the key sequence. |
last1 | The last element of the key sequence. |
first2 | The first element of the value sequence. |
result | The first element of the output sequence. |
init | The value used to initialize the output scan sequence. |
binary_pred | Binary predicate which determines if two keys are equal. |
binary_funct | Binary function for scanning transformed elements. |
user_code | A user-specified string that is preppended to the generated OpenCL kernel. |
InputIterator1 | is a model of Input Iterator. |
InputIterator2 | is a model of Input Iterator. |
OutputIterator | is a model of Output Iterator. |
T | is convertible to OutputIterator's value_type. |
BinaryPredicate | is a model of Binary Predicate. |
BinaryFunction | is a model of Binary Function whose return type is convertible to OutputIterator's value_type . |
OutputIterator bolt::cl::inclusive_scan_by_key | ( | control & | ctl, |
InputIterator1 | first1, | ||
InputIterator1 | last1, | ||
InputIterator2 | first2, | ||
OutputIterator | result, | ||
const std::string & | user_code = "" |
||
) |
inclusive_scan_by_key
performs, on a sequence, an inclusive scan of each sub-sequence as defined by equivalent keys; the BinaryFunction in this version is plus(), and the BinaryPredicate is equal_to(). inclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum.
ctl | Optional Control structure to control command-queue, debug, tuning, etc.See bolt::cl::control. |
first1 | The first element of the key sequence. |
last1 | The last element of the key sequence. |
first2 | The first element of the value sequence. |
result | The first element of the output sequence. |
user_code | A user-specified string that is preppended to the generated OpenCL kernel. |
InputIterator1 | is a model of Input Iterator. |
InputIterator2 | is a model of Input Iterator. |
OutputIterator | is a model of Output Iterator. |
Example
OutputIterator bolt::cl::inclusive_scan_by_key | ( | control & | ctl, |
InputIterator1 | first1, | ||
InputIterator1 | last1, | ||
InputIterator2 | first2, | ||
OutputIterator | result, | ||
BinaryPredicate | binary_pred, | ||
const std::string & | user_code = "" |
||
) |
inclusive_scan_by_key
performs, on a sequence, an inclusive scan of each sub-sequence as defined by equivalent keys; the BinaryFunction in this version is plus(). inclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum.
ctl | Optional Control structure to control command-queue, debug, tuning, etc. See bolt::cl::control. |
first1 | The first element of the key sequence. |
last1 | The last element of the key sequence. |
first2 | The first element of the value sequence. |
result | The first element of the output sequence. |
binary_pred | Binary predicate which determines if two keys are equal. |
user_code | A user-specified string that is preppended to the generated OpenCL kernel. |
InputIterator1 | is a model of Input Iterator. |
InputIterator2 | is a model of Input Iterator. |
OutputIterator | is a model of Output Iterator. |
BinaryPredicate | is a model of Binary Predicate. |
OutputIterator bolt::cl::inclusive_scan_by_key | ( | control & | ctl, |
InputIterator1 | first1, | ||
InputIterator1 | last1, | ||
InputIterator2 | first2, | ||
OutputIterator | result, | ||
BinaryPredicate | binary_pred, | ||
BinaryFunction | binary_funct, | ||
const std::string & | user_code = "" |
||
) |
inclusive_scan_by_key
performs, on a sequence, an inclusive scan of each sub-sequence as defined by equivalent keys. inclusive_scan_by_key uses the associative operator binary_op to perform the parallel segmented prefix sum.
ctl | Optional Control structure to control command-queue, debug, tuning, etc. See bolt::cl::control. |
first1 | The first element of the key sequence. |
last1 | The last element of the key sequence. |
first2 | The first element of the value sequence. |
result | The first element of the output sequence. |
binary_pred | Binary predicate which determines if two keys are equal. |
binary_funct | Binary function for scanning transformed elements. |
user_code | A user-specified string that is preppended to the generated OpenCL kernel. |
InputIterator1 | is a model of Input Iterator. |
InputIterator2 | is a model of Input Iterator. |
OutputIterator | is a model of Output Iterator. |
BinaryPredicate | is a model of Binary Predicate. |
BinaryFunction | is a model of Binary Function whose return type is convertible to OutputIterator's value_type . |