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 | |
| 7 | #include "backends/IBackendInternal.hpp" |
| 8 | |
| 9 | #include "ClLayerSupport.hpp" |
| 10 | |
| 11 | namespace armnn |
| 12 | { |
| 13 | |
| 14 | class ClBackend : public IBackendInternal |
| 15 | { |
| 16 | public: |
| 17 | ClBackend() = default; |
| 18 | ~ClBackend() = default; |
| 19 | |
| 20 | const std::string& GetId() const override; |
| 21 | |
| 22 | const ILayerSupport& GetLayerSupport() const override; |
| 23 | |
| 24 | std::unique_ptr<IWorkloadFactory> CreateWorkloadFactory() const override; |
| 25 | |
| 26 | private: |
| 27 | static const std::string s_Id; |
| 28 | |
| 29 | // TODO initialize |
| 30 | ClLayerSupport m_LayerSupport; |
| 31 | }; |
| 32 | |
| 33 | } // namespace armnn |