diff options
author | Fredrik Svedberg <Fredrik.Svedberg@arm.com> | 2020-12-11 13:42:22 +0100 |
---|---|---|
committer | patrik.gustavsson <patrik.gustavsson@arm.com> | 2020-12-18 12:16:19 +0000 |
commit | 5b513886ab120023eb1319d4883b175db8b7de3a (patch) | |
tree | 8ed296f6567daac9c1a564ad417f3d14ab1b7186 /ethosu/tensor_allocator/search_allocator.cpp | |
parent | 6c74c3bcaa733aa062c15d606726722b19c0dfdb (diff) | |
download | ethos-u-vela-5b513886ab120023eb1319d4883b175db8b7de3a.tar.gz |
[MLBEDSW-297] Setup and run on Microsoft Windows
Various updates to make vela run and produce identical output on
Microsoft Windows.
* Fixed overflow errors
* Fixed compile warnings
* Avoid problematic numpy version
* Updated README.md
Signed-off-by: Fredrik Svedberg <Fredrik.Svedberg@arm.com>
Change-Id: Ie48c63a92a00c81b3247d07f05b75d881319ddbb
Diffstat (limited to 'ethosu/tensor_allocator/search_allocator.cpp')
-rw-r--r-- | ethosu/tensor_allocator/search_allocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/tensor_allocator/search_allocator.cpp b/ethosu/tensor_allocator/search_allocator.cpp index ce5c46de..c7c418a0 100644 --- a/ethosu/tensor_allocator/search_allocator.cpp +++ b/ethosu/tensor_allocator/search_allocator.cpp @@ -31,7 +31,7 @@ SearchAllocator::SearchAllocator(const std::vector<LiveRange> &live_ranges, uint uint32_t max_end_time = 0; for (size_t i = 0; i < lrs.size(); ++i) { auto &lr = lrs[i]; - lr.id = i; + lr.id = static_cast<int>(i); max_end_time = std::max(max_end_time, lr.end_time); } lrs_at_time.resize(max_end_time + 1); |