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

Method copyToReadOnly

src/backend/cuda/Kernel.cpp:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void Kernel::copyToReadOnly(Kernel::DevPtrType dst, Kernel::DevPtrType src,
25 size_t bytes) {
26 CU_CHECK(cuMemcpyDtoDAsync(dst, src, bytes, getActiveStream()));
27}
28
29void Kernel::setFlag(Kernel::DevPtrType dst, int* scalarValPtr,
30 const bool syncCopy) {

Callers 7

morphFunction · 0.45
morph3dFunction · 0.45
convolve_1dFunction · 0.45
conv2HelperFunction · 0.45
convolve_3dFunction · 0.45
convolve2Function · 0.45
transformFunction · 0.45

Calls 1

getActiveStreamFunction · 0.85

Tested by

no test coverage detected