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

Function memLock

src/backend/cuda/memory.cpp:81–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79void memFreeUser(void *ptr) { memoryManager().unlock(ptr, true); }
80
81void memLock(const void *ptr) {
82 memoryManager().userLock(const_cast<void *>(ptr));
83}
84
85void memUnlock(const void *ptr) {
86 memoryManager().userUnlock(const_cast<void *>(ptr));

Callers 1

getDevicePtrFunction · 0.70

Calls 1

userLockMethod · 0.45

Tested by

no test coverage detected