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

Function min_element

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

Source from the content-addressed store, hash-verified

46/// \see max_element()
47template<class InputIterator, class Compare>
48inline InputIterator
49min_element(InputIterator first,
50 InputIterator last,
51 Compare compare,
52 command_queue &queue = system::default_queue())
53{
54 return detail::find_extrema(first, last, compare, true, queue);
55}
56
57///\overload
58template<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