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

Method clone

include/boost/compute/command_queue.hpp:1820–1825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1818};
1819
1820inline buffer buffer::clone(command_queue &queue) const
1821{
1822 buffer copy(get_context(), size(), get_memory_flags());
1823 queue.enqueue_copy_buffer(*this, copy, 0, 0, size());
1824 return copy;
1825}
1826
1827inline image1d image1d::clone(command_queue &queue) const
1828{

Callers 3

BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 3

enqueue_copy_bufferMethod · 0.80
enqueue_copy_imageMethod · 0.80
originMethod · 0.45

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64