18 #if !defined( BOLT_CL_INNERPRODUCT_H )
19 #define BOLT_CL_INNERPRODUCT_H
80 template<
typename InputIterator,
typename OutputType>
82 InputIterator first2, OutputType init,
83 const std::string& cl_code=
"");
85 template<
typename InputIterator,
typename OutputType>
86 OutputType
inner_product( InputIterator first1, InputIterator last1, InputIterator first2, OutputType init,
87 const std::string& cl_code=
"");
126 template<
typename InputIterator,
typename OutputType,
typename BinaryFunction1,
typename BinaryFunction2>
128 InputIterator first2, OutputType init,
129 BinaryFunction1 f1, BinaryFunction2 f2,
const std::string& cl_code=
"");
131 template<
typename InputIterator,
typename OutputType,
typename BinaryFunction1,
typename BinaryFunction2>
132 OutputType
inner_product( InputIterator first1, InputIterator last1, InputIterator first2, OutputType init,
133 BinaryFunction1 f1, BinaryFunction2 f2,
const std::string& cl_code=
"");
139 #include <bolt/cl/detail/inner_product.inl>