diff options
author | Francis Murtagh <francis.murtagh@arm.com> | 2022-08-12 13:54:17 +0100 |
---|---|---|
committer | Nikhil Raj <nikhil.raj@arm.com> | 2022-09-07 14:08:58 +0100 |
commit | 9270d9e52fc1d946cf543c11df71bcc1f7b38544 (patch) | |
tree | 4b763ed4d200f76e170462a1b84a476d1c73a648 /include/armnn/backends/WorkloadFactory.hpp | |
parent | ce8204a528b3973b2dbf258095ab048a061263ea (diff) | |
download | armnn-9270d9e52fc1d946cf543c11df71bcc1f7b38544.tar.gz |
IVGCVSW-7159 Implement simple TOSA Reference Backend skeleton
* Added files based on RefBackend
* Added PreCompiled Workload skeleton
* Increment ABI version of armnnTestUtils for CreateInput which had
been left as pure virtual, added base implementation for it.
* Add IsTosaLayerSupported() for Addition
Change-Id: I4c963adf3f50593d17ecdf21554502a64ad3bd76
Diffstat (limited to 'include/armnn/backends/WorkloadFactory.hpp')
-rw-r--r-- | include/armnn/backends/WorkloadFactory.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/armnn/backends/WorkloadFactory.hpp b/include/armnn/backends/WorkloadFactory.hpp index 85e0312502..4ccf1e2c7d 100644 --- a/include/armnn/backends/WorkloadFactory.hpp +++ b/include/armnn/backends/WorkloadFactory.hpp @@ -56,9 +56,6 @@ public: unsigned int const* subTensorOrigin ) const = 0; - virtual std::unique_ptr<IWorkload> CreateInput(const InputQueueDescriptor& descriptor, - const WorkloadInfo& info) const = 0; - ARMNN_DEPRECATED_MSG("Use ITensorHandleFactory::CreateTensorHandle instead") virtual std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo, const bool IsMemoryManaged = true) const = 0; @@ -74,6 +71,11 @@ public: ARMNN_DEPRECATED_MSG_REMOVAL_DATE("Use ABI stable " "CreateWorkload(LayerType, const QueueDescriptor&, const WorkloadInfo& info) instead.", "23.08") + virtual std::unique_ptr<IWorkload> CreateInput(const InputQueueDescriptor& descriptor, + const WorkloadInfo& info) const; + + ARMNN_DEPRECATED_MSG_REMOVAL_DATE("Use ABI stable " + "CreateWorkload(LayerType, const QueueDescriptor&, const WorkloadInfo& info) instead.", "23.08") virtual std::unique_ptr<IWorkload> CreateActivation(const ActivationQueueDescriptor& descriptor, const WorkloadInfo& info) const; |