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

Function isLocked

src/backend/cuda/memory.cpp:89–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89bool isLocked(const void *ptr) {
90 return memoryManager().isUserLocked(const_cast<void *>(ptr));
91}
92
93void deviceMemoryInfo(size_t *alloc_bytes, size_t *alloc_buffers,
94 size_t *lock_bytes, size_t *lock_buffers) {

Callers

nothing calls this directly

Calls 1

isUserLockedMethod · 0.45

Tested by

no test coverage detected