...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::compute::scatter_if
// In header: <boost/compute/algorithm/scatter_if.hpp> template<typename InputIterator, typename MapIterator, typename StencilIterator, typename OutputIterator, typename Predicate> void scatter_if(InputIterator first, InputIterator last, MapIterator map, StencilIterator stencil, OutputIterator result, Predicate predicate, command_queue & queue = system::default_queue());