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

Function max_element

include/boost/compute/algorithm/max_element.hpp:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52/// \see min_element()
53template<class InputIterator, class Compare>
54inline InputIterator
55max_element(InputIterator first,
56 InputIterator last,
57 Compare compare,
58 command_queue &queue = system::default_queue())
59{
60 BOOST_STATIC_ASSERT(is_device_iterator<InputIterator>::value);
61 return detail::find_extrema(first, last, compare, false, queue);
62}
63
64///\overload
65template<class InputIterator>

Callers 9

mainFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_COMPUTE_FUNCTIONFunction · 0.85
max_timeMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
T (max)Method · 0.85
minmax_elementFunction · 0.85

Calls 1

find_extremaFunction · 0.85

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_COMPUTE_FUNCTIONFunction · 0.68