aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/CLTensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/CL/CLTensor.cpp')
-rw-r--r--src/runtime/CL/CLTensor.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/runtime/CL/CLTensor.cpp b/src/runtime/CL/CLTensor.cpp
index dd277384c7..732689e7ec 100644
--- a/src/runtime/CL/CLTensor.cpp
+++ b/src/runtime/CL/CLTensor.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2018 ARM Limited.
+ * Copyright (c) 2016-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -47,6 +47,11 @@ const cl::Buffer &CLTensor::cl_buffer() const
return _allocator.cl_data();
}
+CLQuantization CLTensor::quantization() const
+{
+ return _allocator.quantization();
+}
+
CLTensorAllocator *CLTensor::allocator()
{
return &_allocator;