aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/BlobLifetimeManager.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2019-09-19 12:09:32 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2019-09-24 01:35:57 +0000
commitb785dd4a4e1e662630f4d79e0f578513958a71fd (patch)
tree6a8becbd7e4390f7876da3f10e70f5bb6ff8e7a8 /src/runtime/BlobLifetimeManager.cpp
parentee6454a3dfc5d9e921689f0b60cfa15ad4ef6654 (diff)
downloadComputeLibrary-b785dd4a4e1e662630f4d79e0f578513958a71fd.tar.gz
COMPMID-2670: [CL/GC] Create a test case for dynamic tensor support
Change-Id: I35d28786ee3843ac11c1211aea55328782a99382 Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/c/1958 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/BlobLifetimeManager.cpp')
-rw-r--r--src/runtime/BlobLifetimeManager.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/runtime/BlobLifetimeManager.cpp b/src/runtime/BlobLifetimeManager.cpp
index 1323bb3f8c..7a4760a990 100644
--- a/src/runtime/BlobLifetimeManager.cpp
+++ b/src/runtime/BlobLifetimeManager.cpp
@@ -33,13 +33,18 @@
#include <cmath>
#include <map>
-using namespace arm_compute;
-
+namespace arm_compute
+{
BlobLifetimeManager::BlobLifetimeManager()
: _blobs()
{
}
+const BlobLifetimeManager::info_type &BlobLifetimeManager::info() const
+{
+ return _blobs;
+}
+
std::unique_ptr<IMemoryPool> BlobLifetimeManager::create_pool(IAllocator *allocator)
{
ARM_COMPUTE_ERROR_ON(allocator == nullptr);
@@ -92,3 +97,4 @@ void BlobLifetimeManager::update_blobs_and_mappings()
++blob_idx;
}
}
+} // namespace arm_compute