diff options
author | Derek Lamberti <derek.lamberti@arm.com> | 2019-11-20 10:51:57 +0000 |
---|---|---|
committer | Derek Lamberti <derek.lamberti@arm.com> | 2019-12-09 19:20:29 +0000 |
commit | 836b27bd73d62795e82d0ce666d728c94c216067 (patch) | |
tree | c5db467b321d367eab8aaa75842f3a520c62cd17 /include/armnn/BackendId.hpp | |
parent | fd2710651ada27fc82f28c07fb1e09effc3bda2d (diff) | |
download | armnn-836b27bd73d62795e82d0ce666d728c94c216067.tar.gz |
IVGCVSW-4157 Pass custom options directly to backends
Change-Id: I98cfb913dbd00cb94bdb5dbe82753ca147f7f671
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'include/armnn/BackendId.hpp')
-rw-r--r-- | include/armnn/BackendId.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/armnn/BackendId.hpp b/include/armnn/BackendId.hpp index 00ece377d4..d7b54979b6 100644 --- a/include/armnn/BackendId.hpp +++ b/include/armnn/BackendId.hpp @@ -79,12 +79,18 @@ public: BackendId(const std::string& id) : m_Id{id} {} BackendId(const char* id) : m_Id{id} {} + + BackendId(const BackendId& other) = default; + BackendId(BackendId&& other) = default; + BackendId& operator=(const BackendId& other) = default; + BackendId& operator=(BackendId&& other) = default; + ~BackendId(){} + /// Deprecated function that will be removed together with /// the Compute enum BackendId(Compute compute) : m_Id{GetComputeDeviceAsCString(compute)} {} operator std::string() const { return m_Id; } - BackendId& operator=(const std::string& other) { m_Id = other; |