Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ lockArray
Function
lockArray
src/api/c/memory.cpp:151–153 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
149
150
template<typename T>
151
inline void lockArray(const af_array arr) {
152
memLock(getArray<T>(arr).get());
153
}
154
155
af_err af_lock_device_ptr(const af_array arr) { return af_lock_array(arr); }
156
Callers
nothing calls this directly
Calls
2
memLock
Function · 0.50
get
Method · 0.45
Tested by
no test coverage detected