Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ memLock
Function
memLock
src/backend/oneapi/memory.cpp:110–112 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
108
109
template<typename T>
110
void memLock(const sycl::buffer<T> *ptr) {
111
memoryManager().userLock(static_cast<const void *>(ptr));
112
}
113
114
template<typename T>
115
void memUnlock(const sycl::buffer<T> *ptr) {
Callers
nothing calls this directly
Calls
1
userLock
Method · 0.45
Tested by
no test coverage detected