diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-09-19 12:09:32 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-09-24 01:35:57 +0000 |
commit | b785dd4a4e1e662630f4d79e0f578513958a71fd (patch) | |
tree | 6a8becbd7e4390f7876da3f10e70f5bb6ff8e7a8 /arm_compute/runtime | |
parent | ee6454a3dfc5d9e921689f0b60cfa15ad4ef6654 (diff) | |
download | ComputeLibrary-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 'arm_compute/runtime')
-rw-r--r-- | arm_compute/runtime/BlobLifetimeManager.h | 8 | ||||
-rw-r--r-- | arm_compute/runtime/GLES_COMPUTE/functions/GCNormalizationLayer.h | 4 | ||||
-rw-r--r-- | arm_compute/runtime/OffsetLifetimeManager.h | 2 |
3 files changed, 11 insertions, 3 deletions
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 @@ -41,6 +41,9 @@ class IMemoryPool; class BlobLifetimeManager : public ISimpleLifetimeManager { public: + using info_type = std::vector<BlobInfo>; + +public: /** Constructor */ BlobLifetimeManager(); /** Prevent instances of this class to be copy constructed */ @@ -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<IMemoryPool> 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; |