aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/scheduler.py
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/vela/scheduler.py')
-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 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)