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

Function af_memory_manager_set_initialize_fn

src/api/c/memory.cpp:554–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552// Function setters
553
554af_err af_memory_manager_set_initialize_fn(af_memory_manager handle,
555 af_memory_manager_initialize_fn fn) {
556 try {
557 MemoryManager &manager = getMemoryManager(handle);
558 manager.initialize_fn = fn;
559 }
560 CATCHALL;
561
562 return AF_SUCCESS;
563}
564
565af_err af_memory_manager_set_shutdown_fn(af_memory_manager handle,
566 af_memory_manager_shutdown_fn fn) {

Callers 2

SetUpMethod · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected