diff options
author | Louis Verhaard <louis.verhaard@arm.com> | 2022-02-23 14:13:07 +0100 |
---|---|---|
committer | patrik.gustavsson <patrik.gustavsson@arm.com> | 2022-03-14 08:54:21 +0000 |
commit | 5c8f1e598748c0429a88aa35a1f12c731892f9b1 (patch) | |
tree | 64d1fec20cd95ecf8162242441122369cc32212d /ethosu/vela/scheduler.py | |
parent | 77b448fa6a63e472928276cfe4e092da1c1395b4 (diff) | |
download | ethos-u-vela-5c8f1e598748c0429a88aa35a1f12c731892f9b1.tar.gz |
MLBEDSW-6245: Bug fix fast storage allocator
Fast storage allocator did not always return an optimal
allocation.
Signed-off-by: Louis Verhaard <louis.verhaard@arm.com>
Change-Id: Ic758b6c4a82dc2633c4752b0c204a27ed36f651b
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 3ef0d7f2..284848f5 100644 --- a/ethosu/vela/scheduler.py +++ b/ethosu/vela/scheduler.py @@ -1152,7 +1152,7 @@ class FastStorageComponentAllocator: if ix >= len(self.lrs): if alloc_size > self.best_allocated_size: self.best_allocated_size = alloc_size - self.evicted = self.curr_evicted + self.evicted = self.curr_evicted.copy() return lr = self.lrs[ix] |