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

Method unlock

src/api/c/memory.cpp:749–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

747}
748
749void MemoryManagerFunctionWrapper::unlock(void *ptr, bool user_unlock) {
750 AF_CHECK(
751 getMemoryManager(handle_).unlock_fn(handle_, ptr, (int)user_unlock));
752}
753
754void MemoryManagerFunctionWrapper::signalMemoryCleanup() {
755 AF_CHECK(getMemoryManager(handle_).signal_memory_cleanup_fn(handle_));

Callers 5

mainFunction · 0.45
doubleAllocationTestFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected