18 #if !defined( BOLT_CL_REDUCE_H )
19 #define BOLT_CL_REDUCE_H
89 template<
typename InputIterator>
90 typename std::iterator_traits<InputIterator>::value_type
94 const std::string& cl_code=
"");
96 template<
typename InputIterator>
97 typename std::iterator_traits<InputIterator>::value_type
98 reduce(InputIterator first,
100 const std::string& cl_code=
"");
140 template<
typename InputIterator,
typename T>
145 const std::string& cl_code=
"");
147 template<
typename InputIterator,
typename T>
148 T
reduce(InputIterator first,
151 const std::string& cl_code=
"");
189 template<
typename InputIterator,
typename T,
typename BinaryFunction>
194 BinaryFunction binary_op=bolt::cl::plus<T>(),
195 const std::string& cl_code=
"") ;
197 template<
typename InputIterator,
typename T,
typename BinaryFunction>
198 T
reduce(InputIterator first,
201 BinaryFunction binary_op,
202 const std::string& cl_code=
"") ;
209 #include <bolt/cl/detail/reduce.inl>