aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/IClTensorHandle.hpp
blob: 48cf5f57d6f5b1851023a5423b9c141ee9cda9c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once

#include <arm_compute/core/CL/ICLTensor.h>
#include <arm_compute/runtime/MemoryGroup.h>

namespace armnn
{

class IClTensorHandle : public IAclTensorHandle
{
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;
};

} //namespace armnn