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

Function af_memory_manager_set_is_user_locked_fn

src/api/c/memory.cpp:653–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

651}
652
653af_err af_memory_manager_set_is_user_locked_fn(
654 af_memory_manager handle, af_memory_manager_is_user_locked_fn fn) {
655 try {
656 MemoryManager &manager = getMemoryManager(handle);
657 manager.is_user_locked_fn = fn;
658 }
659 CATCHALL;
660
661 return AF_SUCCESS;
662}
663
664af_err af_memory_manager_set_get_memory_pressure_fn(
665 af_memory_manager handle, af_memory_manager_get_memory_pressure_fn fn) {

Callers 2

SetUpMethod · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected