blob: 834ce0921d840f44941fc48c1fe7df8c46c2a8f7 (
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
|
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <armnn/Types.hpp>
#include <set>
#include <vector>
namespace armnn
{
class DeviceSpec : public IDeviceSpec
{
public:
DeviceSpec(const BackendIdSet& supportedBackends)
: m_SupportedBackends{supportedBackends} {}
virtual ~DeviceSpec() {}
virtual const BackendIdSet& GetSupportedBackends() const
{
return m_SupportedBackends;
}
private:
DeviceSpec() = delete;
BackendIdSet m_SupportedBackends;
};
}
|