aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2023-07-28 14:29:46 +0100
committerNikhil Raj Arm <nikhil.raj@arm.com>2023-08-03 20:43:01 +0000
commit0f3e9a09a90664fc7c6479f1d7b312a4671d9659 (patch)
treea661655f394badb2a5d19bca81b324b3be952d0c /src/backends/cl
parent07169c8cc8b73ba5f3550cb0e8688de73d438c7e (diff)
downloadarmnn-0f3e9a09a90664fc7c6479f1d7b312a4671d9659.tar.gz
IVGCVSW-7635 Remove deprecated code due to be removed in 23.08 (SubgraphView)
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I6686ad0a16ef763dbdc771c7ef792ae2890e0ab2
Diffstat (limited to 'src/backends/cl')
-rw-r--r--src/backends/cl/ClBackend.cpp8
1 files changed, 4 insertions, 4 deletions
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<LayerGuid, Layer*> untouched;
- while (it != subgraph.beginIConnectable())
+ while (it != subgraph.begin())
{
--it;
Layer& base = *(PolymorphicDowncast<Layer*>(*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<Layer*>(*it));