From 0f3e9a09a90664fc7c6479f1d7b312a4671d9659 Mon Sep 17 00:00:00 2001 From: Francis Murtagh Date: Fri, 28 Jul 2023 14:29:46 +0100 Subject: IVGCVSW-7635 Remove deprecated code due to be removed in 23.08 (SubgraphView) Signed-off-by: Francis Murtagh Signed-off-by: Kevin May Change-Id: I6686ad0a16ef763dbdc771c7ef792ae2890e0ab2 --- src/backends/cl/ClBackend.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/backends/cl') diff --git a/src/backends/cl/ClBackend.cpp b/src/backends/cl/ClBackend.cpp index 532892e0d0..1d8ae21e5d 100644 --- a/src/backends/cl/ClBackend.cpp +++ b/src/backends/cl/ClBackend.cpp @@ -295,18 +295,18 @@ OptimizationViews ClBackend::OptimizeSubgraphView(const SubgraphView& subgraph, { OptimizationViews optimizationViews(modelOptions); - auto it = subgraph.endIConnectable(); + auto it = subgraph.end(); bool isFastMathEnabled = false; std::map untouched; - while (it != subgraph.beginIConnectable()) + while (it != subgraph.begin()) { --it; Layer& base = *(PolymorphicDowncast(*it)); untouched.insert({base.GetGuid(), &base}); } - it = subgraph.endIConnectable(); + it = subgraph.end(); #if defined(ARMCOMPUTECL_ENABLED) IBackendInternal::IBackendSpecificModelContextPtr modelContextPtr = CreateBackendSpecificModelContext(modelOptions); @@ -319,7 +319,7 @@ OptimizationViews ClBackend::OptimizeSubgraphView(const SubgraphView& subgraph, } } #endif - while (it != subgraph.beginIConnectable()) + while (it != subgraph.begin()) { --it; Layer& base = *(PolymorphicDowncast(*it)); -- cgit v1.2.1