aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/scheduler.py
diff options
context:
space:
mode:
authorPatrik Gustavsson <patrik.gustavsson@arm.com>2021-02-11 08:36:12 +0100
committerPatrik Gustavsson <patrik.gustavsson@arm.com>2021-02-11 15:02:22 +0100
commit2446e59a9083f36f85beb88fdec6379d90b85cad (patch)
tree11ec29acb69d8f9c49d4a339d0fb7686f71d9b2a /ethosu/vela/scheduler.py
parente3b1b91c450129308a3a1d466a2f2876a5a872b1 (diff)
downloadethos-u-vela-2446e59a9083f36f85beb88fdec6379d90b85cad.tar.gz
MLBEDSW-3774 Fix avoid cascading for spilling
Fix avoid cascading for spilling. Signed-off-by: Patrik Gustavsson <patrik.gustavsson@arm.com> Change-Id: If86189bd1566eaa14387dfc2c02e3324ea6c184e
Diffstat (limited to 'ethosu/vela/scheduler.py')
-rw-r--r--ethosu/vela/scheduler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethosu/vela/scheduler.py b/ethosu/vela/scheduler.py
index 90b89421..9251623c 100644
--- a/ethosu/vela/scheduler.py
+++ b/ethosu/vela/scheduler.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2020 Arm Limited or its affiliates. All rights reserved.
+# Copyright (C) 2020-2021 Arm Limited or its affiliates. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
@@ -641,7 +641,7 @@ class DynamicProgrammingScheduler:
def avoid_for_cascading(self, pred_candidate):
for op in pred_candidate.ops:
if (
- op.type == Op.ConcatSliceWrite
+ op.memory_function == Op.ConcatSliceWrite
and self.arch.feature_map_storage_mem_area != self.arch.fast_storage_mem_area
):
# For SRAM spilling, concat op is avoided as predecessor