diff options
author | Johan Alfven <johan.alfven@arm.com> | 2023-04-13 12:20:55 +0200 |
---|---|---|
committer | Johan Alfven <johan.alfven@arm.com> | 2023-04-28 08:04:37 +0200 |
commit | 107063615e46a9d9d0f07db9cf139ac136978c77 (patch) | |
tree | 6fa81cd71821ffc73f30792c6d989d17e44cb9e3 /ethosu/vela/live_range.py | |
parent | bb46af7c97ca665041a848a3137a3b7855a4f82a (diff) | |
download | ethos-u-vela-107063615e46a9d9d0f07db9cf139ac136978c77.tar.gz |
MLBEDSW-7503: Avoid changing buffer index for models with only CPU ops
- When compiling a model that only contains CPU ops, Vela
unnecessary adds an empty buffer.
- This extra buffer is added due to that the fast scratch tensor
always occupies index 1.
- Since scratch and fast_scratch does not have any constant data
they can use buffer 0.
Change-Id: I25e1fb124deed7069641bde1f571b522c5bf763a
Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Diffstat (limited to 'ethosu/vela/live_range.py')
0 files changed, 0 insertions, 0 deletions