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

Function af_memory_manager_get_memory_pressure_threshold

src/api/c/memory.cpp:529–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529af_err af_memory_manager_get_memory_pressure_threshold(af_memory_manager handle,
530 float *value) {
531 try {
532 MemoryManager &manager = getMemoryManager(handle);
533 *value = manager.wrapper->getMemoryPressureThreshold();
534 }
535 CATCHALL;
536
537 return AF_SUCCESS;
538}
539
540af_err af_memory_manager_set_memory_pressure_threshold(af_memory_manager handle,
541 float value) {

Callers 1

alloc_fnFunction · 0.50

Calls 1

Tested by

no test coverage detected