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

Function gather

include/boost/compute/algorithm/gather.hpp:69–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67/// \see scatter()
68template<class InputIterator, class MapIterator, class OutputIterator>
69inline void gather(MapIterator first,
70 MapIterator last,
71 InputIterator input,
72 OutputIterator result,
73 command_queue &queue = system::default_queue())
74{
75 detail::gather_kernel<InputIterator, MapIterator, OutputIterator> kernel;
76
77 kernel.set_range(first, last, input, result);
78 kernel.exec(queue);
79}
80
81} // end compute namespace
82} // end boost namespace

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.85
unique_copyFunction · 0.85

Calls 2

set_rangeMethod · 0.45
execMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68