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

Function scatter

include/boost/compute/algorithm/scatter.hpp:84–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82/// \see gather()
83template<class InputIterator, class MapIterator, class OutputIterator>
84inline void scatter(InputIterator first,
85 InputIterator last,
86 MapIterator map,
87 OutputIterator result,
88 command_queue &queue = system::default_queue())
89{
90 detail::scatter_kernel<InputIterator, MapIterator, OutputIterator> kernel;
91
92 kernel.set_range(first, last, map, result);
93 kernel.exec(queue);
94}
95
96} // end compute namespace
97} // end boost namespace

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.85
random_shuffleFunction · 0.85

Calls 2

set_rangeMethod · 0.45
execMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68