diff options
Diffstat (limited to 'src/backends/reference/RefBackend.cpp')
-rw-r--r-- | src/backends/reference/RefBackend.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/backends/reference/RefBackend.cpp b/src/backends/reference/RefBackend.cpp index 2f5ec8032c..7c9240479b 100644 --- a/src/backends/reference/RefBackend.cpp +++ b/src/backends/reference/RefBackend.cpp @@ -6,9 +6,11 @@ #include "RefBackend.hpp" #include "RefBackendId.hpp" #include "RefWorkloadFactory.hpp" +#include "RefLayerSupport.hpp" #include <backendsCommon/IBackendContext.hpp> #include <backendsCommon/BackendRegistry.hpp> + #include <Optimizer.hpp> #include <boost/cast.hpp> @@ -19,7 +21,7 @@ namespace armnn namespace { -static StaticRegistryInitializer<BackendRegistry> g_RegisterHelper +static BackendRegistry::StaticRegistryInitializer g_RegisterHelper { BackendRegistryInstance(), RefBackend::GetIdStatic(), @@ -52,4 +54,10 @@ IBackendInternal::Optimizations RefBackend::GetOptimizations() const return Optimizations{}; } +IBackendInternal::ILayerSupportSharedPtr RefBackend::GetLayerSupport() const +{ + static ILayerSupportSharedPtr layerSupport{new RefLayerSupport}; + return layerSupport; +} + } // namespace armnn
\ No newline at end of file |