| 104 | } |
| 105 | |
| 106 | inline 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 | |
| 116 | inline void MemoryGroup::release() |
| 117 | { |
no test coverage detected