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

Function memUnlock

src/backend/opencl/memory.cpp:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void memUnlock(const cl::Buffer *ptr) {
125 cl_mem mem = static_cast<cl_mem>((*ptr)());
126 memoryManager().userUnlock(static_cast<void *>(mem));
127}
128
129bool isLocked(const void *ptr) {
130 return memoryManager().isUserLocked(const_cast<void *>(ptr));

Callers

nothing calls this directly

Calls 1

userUnlockMethod · 0.45

Tested by

no test coverage detected