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

Method getDevPtr

src/backend/cuda/Kernel.cpp:17–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace cuda {
16
17Kernel::DevPtrType Kernel::getDevPtr(const char* name) {
18 Kernel::DevPtrType out = 0;
19 size_t size = 0;
20 CU_CHECK(cuModuleGetGlobal(&out, &size, this->getModuleHandle(), name));
21 return out;
22}
23
24void Kernel::copyToReadOnly(Kernel::DevPtrType dst, Kernel::DevPtrType src,
25 size_t bytes) {

Callers 9

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

Calls 1

getModuleHandleMethod · 0.80

Tested by

no test coverage detected