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

Function isLocked

src/backend/opencl/memory.cpp:129–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129bool isLocked(const void *ptr) {
130 return memoryManager().isUserLocked(const_cast<void *>(ptr));
131}
132
133void deviceMemoryInfo(size_t *alloc_bytes, size_t *alloc_buffers,
134 size_t *lock_bytes, size_t *lock_buffers) {

Callers

nothing calls this directly

Calls 1

isUserLockedMethod · 0.45

Tested by

no test coverage detected