arovir01 | 4424b0a | 2018-10-04 10:46:04 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | #pragma once |
| 6 | |
Aron Virginas-Tar | c9cc804 | 2018-11-01 16:15:57 +0000 | [diff] [blame] | 7 | #include <backendsCommon/IBackendInternal.hpp> |
arovir01 | 4424b0a | 2018-10-04 10:46:04 +0100 | [diff] [blame] | 8 | |
| 9 | namespace armnn |
| 10 | { |
| 11 | |
| 12 | class NeonBackend : public IBackendInternal |
| 13 | { |
| 14 | public: |
David Beck | 9efb57d | 2018-11-05 13:40:33 +0000 | [diff] [blame] | 15 | NeonBackend() = default; |
| 16 | ~NeonBackend() = default; |
arovir01 | 4424b0a | 2018-10-04 10:46:04 +0100 | [diff] [blame] | 17 | |
David Beck | 3cc9a62 | 2018-10-12 10:38:31 +0100 | [diff] [blame] | 18 | static const BackendId& GetIdStatic(); |
| 19 | const BackendId& GetId() const override { return GetIdStatic(); } |
arovir01 | 4424b0a | 2018-10-04 10:46:04 +0100 | [diff] [blame] | 20 | |
Aron Virginas-Tar | 5605519 | 2018-11-12 18:10:43 +0000 | [diff] [blame] | 21 | IBackendInternal::IMemoryManagerUniquePtr CreateMemoryManager() const override; |
| 22 | |
| 23 | IWorkloadFactoryPtr CreateWorkloadFactory( |
| 24 | const IBackendInternal::IMemoryManagerSharedPtr& memoryManager = nullptr) const override; |
| 25 | |
David Beck | 263e349 | 2018-11-09 14:46:40 +0000 | [diff] [blame] | 26 | IBackendInternal::IBackendContextPtr CreateBackendContext(const IRuntime::CreationOptions&) const override; |
Aron Virginas-Tar | 5605519 | 2018-11-12 18:10:43 +0000 | [diff] [blame] | 27 | |
Matteo Martincigh | 4912402 | 2019-01-11 13:25:59 +0000 | [diff] [blame] | 28 | IBackendInternal::ISubGraphConverterPtr CreateSubGraphConverter( |
| 29 | const std::shared_ptr<SubGraph>& subGraph) const override; |
| 30 | |
David Beck | 263e349 | 2018-11-09 14:46:40 +0000 | [diff] [blame] | 31 | IBackendInternal::Optimizations GetOptimizations() const override; |
David Beck | 111b5d9 | 2018-11-12 14:59:37 +0000 | [diff] [blame] | 32 | IBackendInternal::ILayerSupportSharedPtr GetLayerSupport() const override; |
arovir01 | 4424b0a | 2018-10-04 10:46:04 +0100 | [diff] [blame] | 33 | }; |
| 34 | |
| 35 | } // namespace armnn |