diff options
author | Louis Verhaard <louis.verhaard@arm.com> | 2021-01-21 13:16:18 +0100 |
---|---|---|
committer | Louis Verhaard <louis.verhaard@arm.com> | 2021-01-22 14:24:21 +0100 |
commit | d4738e5d68260ed56c0b878cd5dc11c67fdbbfaa (patch) | |
tree | b7bccfbcee2f56d885cee42d5f48dff8107b7d47 /ethosu/tensor_allocator/search_allocator.h | |
parent | 606063fb1c37ddb211940b8ad211f31824aaee60 (diff) | |
download | ethos-u-vela-d4738e5d68260ed56c0b878cd5dc11c67fdbbfaa.tar.gz |
MLBEDSW-3843: Segmentation fault search allocator
Vector index could become negative in search allocator.
Change-Id: I3b77474a86fd5f4227d8b2a825d11ec8ec0fb073
Signed-off-by: Louis Verhaard <louis.verhaard@arm.com>
Diffstat (limited to 'ethosu/tensor_allocator/search_allocator.h')
-rw-r--r-- | ethosu/tensor_allocator/search_allocator.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ethosu/tensor_allocator/search_allocator.h b/ethosu/tensor_allocator/search_allocator.h index 0ef8688e..6c750151 100644 --- a/ethosu/tensor_allocator/search_allocator.h +++ b/ethosu/tensor_allocator/search_allocator.h @@ -98,10 +98,6 @@ private: * The minimum possible size, assuming all live ranges can be perfectly allocated */ uint32_t min_required_size; - /** - * The available size (input to algorithm). - */ - uint32_t available_size; /** The algorithm stops once the target size has been achieved */ uint32_t target_size; /** The highest end address of the best found allocation */ |