Bolt
1.3
C++ template library with support for OpenCL
|
Functions | |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator > | |
OutputIterator | bolt::amp::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::amp::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::amp::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::amp::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::amp::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::amp::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::amp::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::amp::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::amp::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::amp::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::amp::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::amp::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::amp::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::amp::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::amp::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 accelerator, debug, tuning, etc.See bolt::amp::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. |
InputIterator1 | is a model of Input Iterator. |
InputIterator2 | is a model of Input Iterator. |
OutputIterator | is a model of Output Iterator. |
OutputIterator bolt::amp::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 accelerator, debug, tuning, etc.See bolt::amp::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. |
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::amp::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 accelerator, debug, tuning, etc.See bolt::amp::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. |
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::amp::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 accelerator, debug, tuning, etc.See bolt::amp::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. |
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::amp::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 accelerator, debug, tuning, etc.See bolt::amp::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. |
InputIterator1 | is a model of Input Iterator. |
InputIterator2 | is a model of Input Iterator. |
OutputIterator | is a model of Output Iterator. |
Example
OutputIterator bolt::amp::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 accelerator, debug, tuning, etc.See bolt::amp::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. |
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::amp::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 accelerator, debug, tuning, etc.See bolt::amp::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. |
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 . |