22 #if !defined( BOLT_AMP_REDUCE_H )
23 #define BOLT_AMP_REDUCE_H
91 template<
typename InputIterator>
92 typename std::iterator_traits<InputIterator>::value_type
97 template<
typename InputIterator>
98 typename std::iterator_traits<InputIterator>::value_type
99 reduce(InputIterator first,
138 template<
typename InputIterator,
typename T>
144 template<
typename InputIterator,
typename T>
145 T
reduce(InputIterator first,
186 template<
typename InputIterator,
typename T,
typename BinaryFunction>
193 template<
typename InputIterator,
typename T,
typename BinaryFunction>
194 T
reduce(InputIterator first,
197 BinaryFunction binary_op);
204 #include <bolt/amp/detail/reduce.inl>