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

Function memUnlock

src/backend/oneapi/memory.cpp:115–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113
114template<typename T>
115void memUnlock(const sycl::buffer<T> *ptr) {
116 memoryManager().userUnlock(static_cast<const void *>(ptr));
117}
118
119bool isLocked(const void *ptr) {
120 return memoryManager().isUserLocked(const_cast<void *>(ptr));

Callers

nothing calls this directly

Calls 1

userUnlockMethod · 0.45

Tested by

no test coverage detected