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

Function memLock

src/backend/opencl/memory.cpp:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void memLock(const cl::Buffer *ptr) {
120 cl_mem mem = static_cast<cl_mem>((*ptr)());
121 memoryManager().userLock(static_cast<void *>(mem));
122}
123
124void memUnlock(const cl::Buffer *ptr) {
125 cl_mem mem = static_cast<cl_mem>((*ptr)());

Callers 1

getDevicePtrFunction · 0.70

Calls 1

userLockMethod · 0.45

Tested by

no test coverage detected