boost::compute::min_element
// In header: <boost/compute/algorithm/min_element.hpp> template<typename InputIterator> InputIterator min_element(InputIterator first, InputIterator last, command_queue & queue = system::default_queue());
Returns an iterator pointing to the element in range [first, last) with the minumum value.
first
last
See Also:
max_element()