diff options
author | arovir01 <Aron.Virginas-Tar@arm.com> | 2018-10-04 10:46:04 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-10 16:16:58 +0100 |
commit | 4424b0a12b88bbefecd6b17b5baf174e7d8e1fe5 (patch) | |
tree | 7d606f9f8f02247e21b0407848ff7af8f77ae4a5 /src/backends/cl/ClBackend.hpp | |
parent | e97c6e0b88fd0a17991c1be5fc66e466e29e5b8d (diff) | |
download | armnn-4424b0a12b88bbefecd6b17b5baf174e7d8e1fe5.tar.gz |
IVGCVSW-1963: Add implementation classes for Cl, Neon and Ref backends
Change-Id: Ibb2efaf8b001a64a3f35eab2220990dc39889780
Diffstat (limited to 'src/backends/cl/ClBackend.hpp')
-rw-r--r-- | src/backends/cl/ClBackend.hpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/backends/cl/ClBackend.hpp b/src/backends/cl/ClBackend.hpp new file mode 100644 index 0000000000..7e67f5e9ad --- /dev/null +++ b/src/backends/cl/ClBackend.hpp @@ -0,0 +1,33 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// +#pragma once + +#include "backends/IBackendInternal.hpp" + +#include "ClLayerSupport.hpp" + +namespace armnn +{ + +class ClBackend : public IBackendInternal +{ +public: + ClBackend() = default; + ~ClBackend() = default; + + const std::string& GetId() const override; + + const ILayerSupport& GetLayerSupport() const override; + + std::unique_ptr<IWorkloadFactory> CreateWorkloadFactory() const override; + +private: + static const std::string s_Id; + + // TODO initialize + ClLayerSupport m_LayerSupport; +}; + +} // namespace armnn
\ No newline at end of file |