MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / acquire

Method acquire

arm_compute/runtime/MemoryGroup.h:106–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106inline void MemoryGroup::acquire()
107{
108 if (!_mappings.empty())
109 {
110 ARM_COMPUTE_ERROR_ON(!_memory_manager->pool_manager());
111 _pool = _memory_manager->pool_manager()->lock_pool();
112 _pool->acquire(_mappings);
113 }
114}
115
116inline void MemoryGroup::release()
117{

Callers 1

Calls 3

pool_managerMethod · 0.80
lock_poolMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected