18 #if !defined( BOLT_CL_REDUCE_H )
19 #define BOLT_CL_REDUCE_H
86 template<
typename InputIterator>
87 typename std::iterator_traits<InputIterator>::value_type
91 const std::string& cl_code=
"");
93 template<
typename InputIterator>
94 typename std::iterator_traits<InputIterator>::value_type
95 reduce(InputIterator first,
97 const std::string& cl_code=
"");
138 template<
typename InputIterator,
typename T>
143 const std::string& cl_code=
"");
145 template<
typename InputIterator,
typename T>
146 T
reduce(InputIterator first,
149 const std::string& cl_code=
"");
188 template<
typename InputIterator,
typename T,
typename BinaryFunction>
193 BinaryFunction binary_op=bolt::cl::plus<T>(),
194 const std::string& cl_code=
"") ;
196 template<
typename InputIterator,
typename T,
typename BinaryFunction>
197 T
reduce(InputIterator first,
200 BinaryFunction binary_op,
201 const std::string& cl_code=
"") ;
208 #include <bolt/cl/detail/reduce.inl>