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

Function af_memory_manager_set_user_lock_fn

src/api/c/memory.cpp:631–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629}
630
631af_err af_memory_manager_set_user_lock_fn(af_memory_manager handle,
632 af_memory_manager_user_lock_fn fn) {
633 try {
634 MemoryManager &manager = getMemoryManager(handle);
635 manager.user_lock_fn = fn;
636 }
637 CATCHALL;
638
639 return AF_SUCCESS;
640}
641
642af_err af_memory_manager_set_user_unlock_fn(
643 af_memory_manager handle, af_memory_manager_user_unlock_fn fn) {

Callers 2

SetUpMethod · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected