MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / copyToReadOnly

Method copyToReadOnly

src/backend/opencl/Kernel.cpp:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void Kernel::copyToReadOnly(Kernel::DevPtrType dst, Kernel::DevPtrType src,
26 size_t bytes) {
27 getQueue().enqueueCopyBuffer(*src, *dst, 0, 0, bytes);
28}
29
30void Kernel::setFlag(Kernel::DevPtrType dst, int* scalarValPtr,
31 const bool syncCopy) {

Callers 2

morphFunction · 0.45
morph3dFunction · 0.45

Calls 1

getQueueFunction · 0.50

Tested by

no test coverage detected