aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/GLES_COMPUTE/GCTensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/runtime/GLES_COMPUTE/GCTensor.h')
-rw-r--r--arm_compute/runtime/GLES_COMPUTE/GCTensor.h9
1 files changed, 7 insertions, 2 deletions
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;