diff options
-rw-r--r-- | include/armnn/Types.hpp | 2 | ||||
-rw-r--r-- | src/armnn/DeviceSpec.hpp | 2 |
2 files changed, 3 insertions, 1 deletions
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; } |