diff options
author | Johan Alfvén <johan.alfven@arm.com> | 2022-04-08 10:47:09 +0200 |
---|---|---|
committer | Johan Alfvén <johan.alfven@arm.com> | 2022-04-08 11:01:10 +0200 |
commit | cce7f2d9d049f532c53d4fda55f2a39ac410da99 (patch) | |
tree | 64154c859daa3e74c79eafeb92e48efd16a3f73d /ethosu/vela/scheduler.py | |
parent | 1e9ee1d806ea5287a1785cf105ed9b59ad4da92e (diff) | |
download | ethos-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
Diffstat (limited to 'ethosu/vela/scheduler.py')
-rw-r--r-- | ethosu/vela/scheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/scheduler.py b/ethosu/vela/scheduler.py index a19d0531..dde51c00 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) |