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

Function isLocked

src/backend/oneapi/memory.cpp:119–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119bool isLocked(const void *ptr) {
120 return memoryManager().isUserLocked(const_cast<void *>(ptr));
121}
122
123void deviceMemoryInfo(size_t *alloc_bytes, size_t *alloc_buffers,
124 size_t *lock_bytes, size_t *lock_buffers) {

Callers

nothing calls this directly

Calls 1

isUserLockedMethod · 0.45

Tested by

no test coverage detected