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

Function min_element

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

Source from the content-addressed store, hash-verified

52/// \see max_element()
53template<class InputIterator, class Compare>
54inline InputIterator
55min_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, true, queue);
62}
63
64///\overload
65template<class InputIterator>

Callers 5

BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_COMPUTE_FUNCTIONFunction · 0.85
min_timeMethod · 0.85
T (min)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