aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/RefBackend.hpp
blob: c3797158a68eac867330f19f5627e2a1df1e5c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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