18 #if !defined( BOLT_CL_INNERPRODUCT_H )
19 #define BOLT_CL_INNERPRODUCT_H
76 template<
typename InputIterator,
typename OutputType>
78 InputIterator first2, OutputType init,
79 const std::string& cl_code=
"");
81 template<
typename InputIterator,
typename OutputType>
82 OutputType
inner_product( InputIterator first1, InputIterator last1, InputIterator first2, OutputType init,
83 const std::string& cl_code=
"");
122 template<
typename InputIterator,
typename OutputType,
typename BinaryFunction1,
typename BinaryFunction2>
124 InputIterator first2, OutputType init,
125 BinaryFunction1 f1, BinaryFunction2 f2,
const std::string& cl_code=
"");
127 template<
typename InputIterator,
typename OutputType,
typename BinaryFunction1,
typename BinaryFunction2>
128 OutputType
inner_product( InputIterator first1, InputIterator last1, InputIterator first2, OutputType init,
129 BinaryFunction1 f1, BinaryFunction2 f2,
const std::string& cl_code=
"");
135 #include <bolt/cl/detail/inner_product.inl>