MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / equal

Function equal

compute/include/boost/compute/algorithm/equal.hpp:29–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27/// Space complexity: \Omega(1)
28template<class InputIterator1, class InputIterator2>
29inline bool equal(InputIterator1 first1,
30 InputIterator1 last1,
31 InputIterator2 first2,
32 command_queue &queue = system::default_queue())
33{
34 BOOST_STATIC_ASSERT(is_device_iterator<InputIterator1>::value);
35 BOOST_STATIC_ASSERT(is_device_iterator<InputIterator2>::value);
36 return ::boost::compute::mismatch(first1,
37 last1,
38 first2,
39 queue).first == last1;
40}
41
42/// \overload
43template<class InputIterator1, class InputIterator2>

Callers 5

BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
is_permutationFunction · 0.85

Calls 1

mismatchFunction · 0.85

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68