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

Function af_memory_manager_set_user_unlock_fn

src/api/c/memory.cpp:642–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642af_err af_memory_manager_set_user_unlock_fn(
643 af_memory_manager handle, af_memory_manager_user_unlock_fn fn) {
644 try {
645 MemoryManager &manager = getMemoryManager(handle);
646 manager.user_unlock_fn = fn;
647 }
648 CATCHALL;
649
650 return AF_SUCCESS;
651}
652
653af_err af_memory_manager_set_is_user_locked_fn(
654 af_memory_manager handle, af_memory_manager_is_user_locked_fn fn) {

Callers 2

SetUpMethod · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected