22 #if !defined( BOLT_CL_SCAN_H )
23 #define BOLT_CL_SCAN_H
80 template<
typename InputIterator,
typename OutputIterator >
82 inclusive_scan( control &ctl, InputIterator first, InputIterator last,
83 OutputIterator result,
const std::string& user_code=
"" );
85 template<
typename InputIterator,
typename OutputIterator >
90 OutputIterator result,
91 const std::string& user_code=
"" );
121 template<
typename InputIterator,
typename OutputIterator,
typename BinaryFunction >
122 OutputIterator
inclusive_scan( control &ctl, InputIterator first, InputIterator last,
123 OutputIterator result, BinaryFunction binary_op,
const std::string& user_code=
"" );
125 template<
typename InputIterator,
typename OutputIterator,
typename BinaryFunction >
130 OutputIterator result,
131 BinaryFunction binary_op,
132 const std::string& user_code=
"" );
159 template<
typename InputIterator,
typename OutputIterator >
161 exclusive_scan( control& ctl, InputIterator first, InputIterator last,
162 OutputIterator result,
const std::string& user_code=
"" );
164 template<
typename InputIterator,
typename OutputIterator >
166 exclusive_scan( InputIterator first, InputIterator last, OutputIterator result,
167 const std::string& user_code=
"" );
198 template<
typename InputIterator,
typename OutputIterator,
typename T >
200 exclusive_scan( control& ctl, InputIterator first, InputIterator last, OutputIterator result, T init,
201 const std::string& user_code=
"" );
203 template<
typename InputIterator,
typename OutputIterator,
typename T >
205 exclusive_scan( InputIterator first, InputIterator last, OutputIterator result, T init,
206 const std::string& user_code=
"" );
237 template<
typename InputIterator,
typename OutputIterator,
typename T,
typename BinaryFunction >
239 exclusive_scan( control &ctl, InputIterator first, InputIterator last,
240 OutputIterator result, T init, BinaryFunction binary_op,
const std::string& user_code=
"" );
242 template<
typename InputIterator,
typename OutputIterator,
typename T,
typename BinaryFunction >
244 exclusive_scan( InputIterator first, InputIterator last, OutputIterator result, T init, BinaryFunction binary_op,
245 const std::string& user_code=
"" );
252 #include <bolt/cl/detail/scan.inl>
254 #endif // BOLT_CL_SCAN_H