From db8485ac24135f17e9882c76196924435abc064f Mon Sep 17 00:00:00 2001 From: Pablo Tello Date: Tue, 24 Sep 2019 11:03:47 +0100 Subject: COMPMID-2205: CL runtime context. CL Interfaces implemented. Concrete classes implemented. One test (ActivationLayer) ported to the new interface. Change-Id: I283808bec36ccfc2f13fe048c45cbbee698ce525 Signed-off-by: Pablo Tello Reviewed-on: https://review.mlplatform.org/c/1998 Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins --- arm_compute/runtime/GLES_COMPUTE/GCTensor.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'arm_compute/runtime/GLES_COMPUTE/GCTensor.h') diff --git a/arm_compute/runtime/GLES_COMPUTE/GCTensor.h b/arm_compute/runtime/GLES_COMPUTE/GCTensor.h index 344c78852b..a308ba0237 100644 --- a/arm_compute/runtime/GLES_COMPUTE/GCTensor.h +++ b/arm_compute/runtime/GLES_COMPUTE/GCTensor.h @@ -32,13 +32,18 @@ namespace arm_compute { class ITensorAllocator; class ITensorInfo; +class IRuntimeContext; /** Interface for OpenGL ES tensor */ class GCTensor : public IGCTensor, public IMemoryManageable { public: - /** Default constructor */ - GCTensor(); + /** Default constructor + * + * @param[in] ctx (Optional) Pointer to the runtime context. + * + */ + GCTensor(IRuntimeContext *ctx = nullptr); /** Prevent instances of this class from being copied (As this class contains pointers) */ GCTensor(const GCTensor &) = delete; -- cgit v1.2.1