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

Function copy_n

include/boost/compute/algorithm/copy_n.hpp:35–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33/// \see copy()
34template<class InputIterator, class Size, class OutputIterator>
35inline OutputIterator copy_n(InputIterator first,
36 Size count,
37 OutputIterator result,
38 command_queue &queue = system::default_queue())
39{
40 typedef typename std::iterator_traits<InputIterator>::difference_type difference_type;
41
42 return ::boost::compute::copy(first,
43 first + static_cast<difference_type>(count),
44 result,
45 queue);
46}
47
48} // end compute namespace
49} // end boost namespace

Callers 15

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

Calls 1

copyFunction · 0.85

Tested by 14

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68