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

Function af_memory_manager_set_allocated_fn

src/api/c/memory.cpp:587–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585}
586
587af_err af_memory_manager_set_allocated_fn(af_memory_manager handle,
588 af_memory_manager_allocated_fn fn) {
589 try {
590 MemoryManager &manager = getMemoryManager(handle);
591 manager.allocated_fn = fn;
592 }
593 CATCHALL;
594
595 return AF_SUCCESS;
596}
597
598af_err af_memory_manager_set_unlock_fn(af_memory_manager handle,
599 af_memory_manager_unlock_fn fn) {

Callers 2

SetUpMethod · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected