aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/ClTensorHandle.hpp
diff options
context:
space:
mode:
authorNarumol Prangnawarat <narumol.prangnawarat@arm.com>2022-01-25 15:15:34 +0000
committerNarumol Prangnawarat <narumol.prangnawarat@arm.com>2022-01-27 09:03:19 +0000
commit9ef361469ef64616c1fdb92d57258ac63a26804a (patch)
tree0c42147a6fda88f1c83f0101c8f0c22dff0d169e /src/backends/cl/ClTensorHandle.hpp
parent588cbdfbd20dc524674db40c07cde3c4ffb85d11 (diff)
downloadarmnn-9ef361469ef64616c1fdb92d57258ac63a26804a.tar.gz
IVGCVSW-6687 Implement ICLTensorProxy
* Implement ICLTensorProxy and unit tests * Remove IClImportTensorHandle and use IClTensorHandle to access ICLTensor Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I791d0f2c6f8bad841a56e39e196baf0e533c7124
Diffstat (limited to 'src/backends/cl/ClTensorHandle.hpp')
-rw-r--r--src/backends/cl/ClTensorHandle.hpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/backends/cl/ClTensorHandle.hpp b/src/backends/cl/ClTensorHandle.hpp
index 6fccb8d395..f63f1faa07 100644
--- a/src/backends/cl/ClTensorHandle.hpp
+++ b/src/backends/cl/ClTensorHandle.hpp
@@ -18,18 +18,10 @@
#include <arm_compute/core/TensorShape.h>
#include <arm_compute/core/Coordinates.h>
-namespace armnn
-{
-
+#include <cl/IClTensorHandle.hpp>
-class IClTensorHandle : public IAclTensorHandle
+namespace armnn
{
-public:
- virtual arm_compute::ICLTensor& GetTensor() = 0;
- virtual arm_compute::ICLTensor const& GetTensor() const = 0;
- virtual arm_compute::DataType GetDataType() const = 0;
- virtual void SetMemoryGroup(const std::shared_ptr<arm_compute::IMemoryGroup>& memoryGroup) = 0;
-};
class ClTensorHandle : public IClTensorHandle
{