MCPcopy 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
150template<typename T>
151inline void lockArray(const af_array arr) {
152 memLock(getArray<T>(arr).get());
153}
154
155af_err af_lock_device_ptr(const af_array arr) { return af_lock_array(arr); }
156

Callers

nothing calls this directly

Calls 2

memLockFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected