MCPcopy Create free account
hub / github.com/boostorg/compute / accumulate

Function accumulate

include/boost/compute/algorithm/accumulate.hpp:160–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158/// \see reduce()
159template<class InputIterator, class T, class BinaryFunction>
160inline T accumulate(InputIterator first,
161 InputIterator last,
162 T init,
163 BinaryFunction function,
164 command_queue &queue = system::default_queue())
165{
166 return detail::dispatch_accumulate(first, last, init, function, queue);
167}
168
169/// \overload
170template<class InputIterator, class T>

Callers 12

mainFunction · 0.85
mainFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
perf_accumulateFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
sumMethod · 0.85
linearMethod · 0.85
inner_productFunction · 0.85
execMethod · 0.85

Calls 1

dispatch_accumulateFunction · 0.85

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68