From 87106761b2fd3f165aed2af4fe43db13cf70b227 Mon Sep 17 00:00:00 2001 From: Narumol Prangnawarat Date: Fri, 3 May 2019 15:54:39 +0100 Subject: IVGCVSW-3014 Add GetSupportedBackends to IDeviceSpec Signed-off-by: Narumol Prangnawarat Change-Id: I8d6474389376f715074bfa7a75613dbda35bcc6a --- include/armnn/Types.hpp | 2 ++ src/armnn/DeviceSpec.hpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/armnn/Types.hpp b/include/armnn/Types.hpp index 438b6be741..53aa43748f 100644 --- a/include/armnn/Types.hpp +++ b/include/armnn/Types.hpp @@ -118,6 +118,8 @@ class IDeviceSpec protected: IDeviceSpec() {} virtual ~IDeviceSpec() {} +public: + virtual const BackendIdSet& GetSupportedBackends() const = 0; }; /// Type of identifiers for bindable layers (inputs, outputs). diff --git a/src/armnn/DeviceSpec.hpp b/src/armnn/DeviceSpec.hpp index 834ce0921d..35923e6f9d 100644 --- a/src/armnn/DeviceSpec.hpp +++ b/src/armnn/DeviceSpec.hpp @@ -19,7 +19,7 @@ public: virtual ~DeviceSpec() {} - virtual const BackendIdSet& GetSupportedBackends() const + virtual const BackendIdSet& GetSupportedBackends() const override { return m_SupportedBackends; } -- cgit v1.2.1