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

Function af_memory_manager_set_alloc_fn

src/api/c/memory.cpp:576–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574}
575
576af_err af_memory_manager_set_alloc_fn(af_memory_manager handle,
577 af_memory_manager_alloc_fn fn) {
578 try {
579 MemoryManager &manager = getMemoryManager(handle);
580 manager.alloc_fn = fn;
581 }
582 CATCHALL;
583
584 return AF_SUCCESS;
585}
586
587af_err af_memory_manager_set_allocated_fn(af_memory_manager handle,
588 af_memory_manager_allocated_fn fn) {

Callers 2

SetUpMethod · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected