boost::compute::inplace_merge
// In header: <boost/compute/algorithm/inplace_merge.hpp> template<typename Iterator> void inplace_merge(Iterator first, Iterator middle, Iterator last, command_queue & queue = system::default_queue());
Merges the sorted values in the range [first, middle) with the sorted values in the range [middle, last) in-place.
first
middle
last