22 #if !defined( BOLT_AMP_REDUCE_H )
23 #define BOLT_AMP_REDUCE_H
92 template<
typename InputIterator>
93 typename std::iterator_traits<InputIterator>::value_type
98 template<
typename InputIterator>
99 typename std::iterator_traits<InputIterator>::value_type
100 reduce(InputIterator first,
141 template<
typename InputIterator,
typename T>
147 template<
typename InputIterator,
typename T>
148 T
reduce(InputIterator first,
191 template<
typename InputIterator,
typename T,
typename BinaryFunction>
198 template<
typename InputIterator,
typename T,
typename BinaryFunction>
199 T
reduce(InputIterator first,
202 BinaryFunction binary_op);
209 #include <bolt/amp/detail/reduce.inl>