aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/BlobMemoryPool.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2017-09-19 15:03:20 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitd9e5b19c87906390ed87efdada3b096a62888bf4 (patch)
tree6714eaa27629ddd4cd11ec5e00cb9be781e8bef0 /src/runtime/BlobMemoryPool.cpp
parent5701e2a41ddf0a12042ac648993fc39701961f66 (diff)
downloadComputeLibrary-d9e5b19c87906390ed87efdada3b096a62888bf4.tar.gz
COMPMID-417: Fix in BlobMemoryPool and BlobLifetimeManager
-Removes invalid error check as multiple handles can be applied to the same blob. -Calculate group mappings and update blobs using the active_elements instead of the finalized group to allow reusability of blobs of non-overlapping subgroups of the same group. Change-Id: I21eee7a47829f751280a7b8dc1e831fff1b0ef41 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88279 Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'src/runtime/BlobMemoryPool.cpp')
-rw-r--r--src/runtime/BlobMemoryPool.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/BlobMemoryPool.cpp b/src/runtime/BlobMemoryPool.cpp
index 6571c75fe7..29505e57fc 100644
--- a/src/runtime/BlobMemoryPool.cpp
+++ b/src/runtime/BlobMemoryPool.cpp
@@ -24,6 +24,7 @@
#include "arm_compute/runtime/BlobMemoryPool.h"
#include "arm_compute/core/Error.h"
+#include "arm_compute/runtime/IAllocator.h"
#include "arm_compute/runtime/IMemoryPool.h"
#include "arm_compute/runtime/Types.h"
#include "support/ToolchainSupport.h"
@@ -47,8 +48,6 @@ BlobMemoryPool::~BlobMemoryPool()
void BlobMemoryPool::acquire(MemoryMappings &handles)
{
- ARM_COMPUTE_ERROR_ON(handles.size() > _blobs.size());
-
// Set memory to handlers
for(auto &handle : handles)
{