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

Function transform_reduce

include/boost/compute/algorithm/transform_reduce.hpp:38–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 class UnaryTransformFunction,
37 class BinaryReduceFunction>
38inline void transform_reduce(InputIterator first,
39 InputIterator last,
40 OutputIterator result,
41 UnaryTransformFunction transform_function,
42 BinaryReduceFunction reduce_function,
43 command_queue &queue = system::default_queue())
44{
45 ::boost::compute::reduce(
46 ::boost::compute::make_transform_iterator(first, transform_function),
47 ::boost::compute::make_transform_iterator(last, transform_function),
48 result,
49 reduce_function,
50 queue
51 );
52}
53
54/// \overload
55template<class InputIterator1,

Callers 3

BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
countMethod · 0.85

Calls 4

reduceFunction · 0.85
make_transform_iteratorFunction · 0.85
make_zip_iteratorFunction · 0.85
unpackFunction · 0.85

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68