aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/RefBackend.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/reference/RefBackend.hpp')
-rw-r--r--src/backends/reference/RefBackend.hpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/backends/reference/RefBackend.hpp b/src/backends/reference/RefBackend.hpp
new file mode 100644
index 0000000000..c3797158a6
--- /dev/null
+++ b/src/backends/reference/RefBackend.hpp
@@ -0,0 +1,33 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+#pragma once
+
+#include "backends/IBackendInternal.hpp"
+
+#include "RefLayerSupport.hpp"
+
+namespace armnn
+{
+
+class RefBackend : public IBackendInternal
+{
+public:
+ RefBackend() = default;
+ ~RefBackend() = 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
+ RefLayerSupport m_LayerSupport;
+};
+
+} // namespace armnn \ No newline at end of file