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

Method finalize_memory

arm_compute/runtime/MemoryGroup.h:97–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97inline void MemoryGroup::finalize_memory(IMemoryManageable *obj, IMemory &obj_memory, size_t size, size_t alignment)
98{
99 if (_memory_manager)
100 {
101 ARM_COMPUTE_ERROR_ON(!_memory_manager->lifetime_manager());
102 _memory_manager->lifetime_manager()->end_lifetime(obj, obj_memory, size, alignment);
103 }
104}
105
106inline void MemoryGroup::acquire()
107{

Callers 3

allocateMethod · 0.80
allocateMethod · 0.80
generate_lifetime_infoFunction · 0.80

Calls 2

lifetime_managerMethod · 0.80
end_lifetimeMethod · 0.80

Tested by

no test coverage detected