From b785dd4a4e1e662630f4d79e0f578513958a71fd Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 19 Sep 2019 12:09:32 +0100 Subject: COMPMID-2670: [CL/GC] Create a test case for dynamic tensor support Change-Id: I35d28786ee3843ac11c1211aea55328782a99382 Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/c/1958 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- arm_compute/runtime/BlobLifetimeManager.h | 8 ++++++++ arm_compute/runtime/GLES_COMPUTE/functions/GCNormalizationLayer.h | 4 ++-- arm_compute/runtime/OffsetLifetimeManager.h | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) (limited to 'arm_compute') diff --git a/arm_compute/runtime/BlobLifetimeManager.h b/arm_compute/runtime/BlobLifetimeManager.h index 586ad10fa0..a7630e437a 100644 --- a/arm_compute/runtime/BlobLifetimeManager.h +++ b/arm_compute/runtime/BlobLifetimeManager.h @@ -40,6 +40,9 @@ class IMemoryPool; * calculates the systems memory requirements in terms of blobs */ class BlobLifetimeManager : public ISimpleLifetimeManager { +public: + using info_type = std::vector; + public: /** Constructor */ BlobLifetimeManager(); @@ -51,6 +54,11 @@ public: BlobLifetimeManager(BlobLifetimeManager &&) = default; /** Allow instances of this class to be moved */ BlobLifetimeManager &operator=(BlobLifetimeManager &&) = default; + /** Accessor to the pool internal configuration meta-data + * + * @return Lifetime manager internal configuration meta-data + */ + const info_type &info() const; // Inherited methods overridden: std::unique_ptr create_pool(IAllocator *allocator) override; diff --git a/arm_compute/runtime/GLES_COMPUTE/functions/GCNormalizationLayer.h b/arm_compute/runtime/GLES_COMPUTE/functions/GCNormalizationLayer.h index 2e68f8edb9..fa10fdd75e 100644 --- a/arm_compute/runtime/GLES_COMPUTE/functions/GCNormalizationLayer.h +++ b/arm_compute/runtime/GLES_COMPUTE/functions/GCNormalizationLayer.h @@ -36,6 +36,7 @@ namespace arm_compute { +// Forward declarations class IGCTensor; /** Basic function to compute a normalization layer. This function calls the following OpenGL ES kernels: @@ -43,7 +44,6 @@ class IGCTensor; * -# @ref GCPixelWiseMultiplicationKernel * -# @ref GCFillBorderKernel * -# @ref GCNormalizationLayerKernel - * */ class GCNormalizationLayer : public IFunction { @@ -69,5 +69,5 @@ private: GCPixelWiseMultiplicationKernel _multiply_kernel; /**< Pixel multiplication kernel to run */ GCFillBorderKernel _border_handler; /**< Kernel to handle borders */ }; -} +} // namespace arm_compute #endif /* __ARM_COMPUTE_GCNORMALIZATIONLAYER_H__ */ diff --git a/arm_compute/runtime/OffsetLifetimeManager.h b/arm_compute/runtime/OffsetLifetimeManager.h index 748f3b6f81..968e5f224d 100644 --- a/arm_compute/runtime/OffsetLifetimeManager.h +++ b/arm_compute/runtime/OffsetLifetimeManager.h @@ -56,7 +56,7 @@ public: OffsetLifetimeManager &operator=(OffsetLifetimeManager &&) = default; /** Accessor to the pool internal configuration meta-data * - * @return Pool internal configuration meta-data + * @return Lifetime manager internal configuration meta-data */ const info_type &info() const; -- cgit v1.2.1