https://github.com/halide/Halide
Revision e7052531d239e3953723cf33b951c7e638bec385 authored by Steven Johnson on 13 July 2021, 01:17:41 UTC, committed by GitHub on 13 July 2021, 01:17:41 UTC
* [hannk] Rework most of hannk's Tensor storage to be arena-based.

* Update interpreter.cpp

* Restore get_tensor

* clang-format

* Add missing include

* Fix arena alignment issues

* Remove redundant assert

* Rework AllocationPlanner API a bit

* [hannk] Implement greedy algorithm in AllocationPlanner

This uses a basic greedy approach to doing an allocation plan for tensors in hannk.

Initial testing shows exact result matches between old and new code.

Drive-by changes:
- Change Interpreter's `verbose` -> `verbosity` to allow more output granularity, and update callers as needed.
- Fix two places in ModelRunner that should have called the function hooks rather than the functions directly.

* clang-format

* Add missing includes

* Add missing includes

* trigger buildbots

* Minor fixes and comments in AllocationPlanner

* Suggested fixes
1 parent 3e9cb4f
History
Tip revision: e7052531d239e3953723cf33b951c7e638bec385 authored by Steven Johnson on 13 July 2021, 01:17:41 UTC
[hannk] Implement greedy algorithm in AllocationPlanner (#6117)
Tip revision: e705253
File Mode Size
.github
apps
cmake
dependencies
doc
packaging
python_bindings
src
test
tools
tutorial
util
.clang-format -rw-r--r-- 1.4 KB
.clang-format-ignore -rw-r--r-- 265 bytes
.clang-tidy -rw-r--r-- 1.7 KB
.gitattributes -rw-r--r-- 342 bytes
.gitignore -rw-r--r-- 1.1 KB
.gitmodules -rw-r--r-- 0 bytes
CMakeLists.txt -rw-r--r-- 5.5 KB
CMakePresets.json -rw-r--r-- 5.2 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.5 KB
LICENSE.txt -rw-r--r-- 3.2 KB
Makefile -rw-r--r-- 101.2 KB
README.md -rw-r--r-- 16.5 KB
README_cmake.md -rw-r--r-- 69.3 KB
README_rungen.md -rw-r--r-- 12.1 KB
README_webassembly.md -rw-r--r-- 8.6 KB
run-clang-format.sh -rwxr-xr-x 1.4 KB
run-clang-tidy.sh -rwxr-xr-x 3.1 KB

README.md

back to top