https://github.com/halide/Halide
Revision e982e5cf29ad6d8addf675375fcb1bab31d8431c authored by Steven Johnson on 14 March 2019, 02:16:05 UTC, committed by Steven Johnson on 14 March 2019, 02:16:05 UTC
Make Func::invalidate_cache() public, and use it aggressively in some tests that JIT many Funcs in a ThreadPool: the issue here is that we don't reclaim JIT-related memory until the Func is destroyed, and the structure of correctness_vector_math and correctness_boundary_conditions is such that we can have dozens in existence *per thread*; this greatly increases transient memory pressure, even though we generally never need more than a single one to be in existence at a time.
1 parent dba5565
History
Tip revision: e982e5cf29ad6d8addf675375fcb1bab31d8431c authored by Steven Johnson on 14 March 2019, 02:16:05 UTC
Use invalidate_cache() aggressively in multithreaded tests
Tip revision: e982e5c
File Mode Size
apps
python_bindings
src
test
tools
tutorial
util
.clang-format -rw-r--r-- 1.4 KB
.gitattributes -rw-r--r-- 342 bytes
.gitignore -rw-r--r-- 1.0 KB
.gitmodules -rw-r--r-- 0 bytes
.travis.yml -rw-r--r-- 2.3 KB
CMakeLists.txt -rw-r--r-- 17.1 KB
Doxyfile -rw-r--r-- 103.6 KB
Doxyfile.in -rw-r--r-- 64.3 KB
LICENSE.txt -rw-r--r-- 1.1 KB
Makefile -rw-r--r-- 81.9 KB
README.md -rw-r--r-- 15.9 KB
README_cmake.md -rw-r--r-- 9.9 KB
README_rungen.md -rw-r--r-- 11.5 KB
halide.cmake -rw-r--r-- 29.0 KB

README.md

back to top