MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / copy

Function copy

include/CL/opencl.hpp:9480–9488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9478 */
9479template< typename IteratorType >
9480inline cl_int copy( IteratorType startIterator, IteratorType endIterator, cl::Buffer &buffer )
9481{
9482 cl_int error;
9483 CommandQueue queue = CommandQueue::getDefault(&error);
9484 if (error != CL_SUCCESS)
9485 return error;
9486
9487 return cl::copy(queue, startIterator, endIterator, buffer);
9488}
9489
9490/**
9491 * Blocking copy operation between iterators and a buffer.

Callers 8

BufferMethod · 0.70
BufferMethod · 0.70
remove_dimensionMethod · 0.50
collapseMethod · 0.50
removeMethod · 0.50
write_tupleFunction · 0.50

Calls 3

enqueueMapBufferMethod · 0.80
enqueueUnmapMemObjectMethod · 0.80
waitMethod · 0.45

Tested by

no test coverage detected