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

Function af_memory_manager_set_unlock_fn

src/api/c/memory.cpp:598–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596}
597
598af_err af_memory_manager_set_unlock_fn(af_memory_manager handle,
599 af_memory_manager_unlock_fn fn) {
600 try {
601 MemoryManager &manager = getMemoryManager(handle);
602 manager.unlock_fn = fn;
603 }
604 CATCHALL;
605
606 return AF_SUCCESS;
607}
608
609af_err af_memory_manager_set_signal_memory_cleanup_fn(
610 af_memory_manager handle, af_memory_manager_signal_memory_cleanup_fn fn) {

Callers 2

SetUpMethod · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected