diff options
Diffstat (limited to 'src/backends/cl')
-rw-r--r-- | src/backends/cl/ClBackend.cpp | 12 | ||||
-rw-r--r-- | src/backends/cl/ClBackend.hpp | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/backends/cl/ClBackend.cpp b/src/backends/cl/ClBackend.cpp index dfa5e7c777..25318ecdaa 100644 --- a/src/backends/cl/ClBackend.cpp +++ b/src/backends/cl/ClBackend.cpp @@ -63,10 +63,10 @@ ClBackend::CreateBackendContext(const IRuntime::CreationOptions& options) const return IBackendContextPtr{new ClBackendContext{options}}; } -IBackendInternal::ISubGraphConverterPtr ClBackend::CreateSubGraphConverter( - const std::shared_ptr<SubGraph>& subGraph) const +IBackendInternal::ISubgraphViewConverterPtr ClBackend::CreateSubgraphViewConverter( + const std::shared_ptr<SubgraphView>& subgraph) const { - return ISubGraphConverterPtr{}; + return ISubgraphViewConverterPtr{}; } IBackendInternal::Optimizations ClBackend::GetOptimizations() const @@ -80,13 +80,13 @@ IBackendInternal::ILayerSupportSharedPtr ClBackend::GetLayerSupport() const return layerSupport; } -IBackendInternal::SubGraphUniquePtr ClBackend::OptimizeSubGraph(const SubGraph& subGraph, - bool& optimizationAttempted) const +IBackendInternal::SubgraphViewUniquePtr ClBackend::OptimizeSubgraphView(const SubgraphView& subgraph, + bool& optimizationAttempted) const { // Not trying to optimize the given sub-graph optimizationAttempted = false; - return SubGraphUniquePtr{}; + return SubgraphViewUniquePtr{}; } } // namespace armnn diff --git a/src/backends/cl/ClBackend.hpp b/src/backends/cl/ClBackend.hpp index 8133ce49f6..e50c7e12ca 100644 --- a/src/backends/cl/ClBackend.hpp +++ b/src/backends/cl/ClBackend.hpp @@ -25,14 +25,14 @@ public: IBackendInternal::IBackendContextPtr CreateBackendContext(const IRuntime::CreationOptions&) const override; - IBackendInternal::ISubGraphConverterPtr CreateSubGraphConverter( - const std::shared_ptr<SubGraph>& subGraph) const override; + IBackendInternal::ISubgraphViewConverterPtr CreateSubgraphViewConverter( + const std::shared_ptr<SubgraphView>& subgraph) const override; IBackendInternal::Optimizations GetOptimizations() const override; IBackendInternal::ILayerSupportSharedPtr GetLayerSupport() const override; - IBackendInternal::SubGraphUniquePtr OptimizeSubGraph(const SubGraph& subGraph, - bool& optimizationAttempted) const override; + IBackendInternal::SubgraphViewUniquePtr OptimizeSubgraphView(const SubgraphView& subgraph, + bool& optimizationAttempted) const override; }; } // namespace armnn |