boost::compute::find
// In header: <boost/compute/algorithm/find.hpp> template<typename InputIterator, typename T> InputIterator find(InputIterator first, InputIterator last, const T & value, command_queue & queue = system::default_queue());
Returns an iterator pointing to the first element in the range [first, last) that equals value.
first
last
value