aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Alfvén <johan.alfven@arm.com>2022-04-08 10:47:09 +0200
committerJohan Alfvén <johan.alfven@arm.com>2022-04-08 11:01:10 +0200
commitcce7f2d9d049f532c53d4fda55f2a39ac410da99 (patch)
tree64154c859daa3e74c79eafeb92e48efd16a3f73d
parent1e9ee1d806ea5287a1785cf105ed9b59ad4da92e (diff)
downloadethos-u-vela-cce7f2d9d049f532c53d4fda55f2a39ac410da99.tar.gz
MLBEDSW-6339 Performance drop on wav2letter
Corrected calculation for used bufferering depth. Before change there were scenarios when it was set to smaller sizes than needed. Signed-off-by: Johan Alfven <johan.alfven@arm.com> Change-Id: I162859ade78487e848510c6a605685e4568c7068
-rw-r--r--ethosu/vela/scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/scheduler.py b/ethosu/vela/scheduler.py
index a19d053..dde51c0 100644
--- a/ethosu/vela/scheduler.py
+++ b/ethosu/vela/scheduler.py
@@ -692,7 +692,7 @@ class Scheduler:
while True:
# Attempt to buffer whole blocks
- if buffering_bytes > block_depth:
+ if buffering_depth > block_depth:
buffering_depth = round_down(buffering_depth, block_depth)
else:
buffering_depth = round_down(buffering_depth, ArchitectureFeatures.OFMSplitDepth)