swh:1:snp:70f530b74f5be73cfb71c212c9e3317ce44c1ebc
Revision 5e526d492f967bfffb1f907b8d5de33be717dad0 authored by Zalman Stern on 10 December 2020, 09:40:20 UTC, committed by GitHub on 10 December 2020, 09:40:20 UTC
Modify memoization code to allow using min/extent/stride of a buffer
as part of memoization without wrapping in memoize_tag. This seems
reasonable and failure to support this causes tricky to diagnose
errors if one uses the extent of an input in an RDom that is then used
in a memoized Func.

The code pattern here is a bit heuristic in that I can't think of a
case where a Var has a buffer but the reference isn't to a *field* of the
buffer. If this turns out to be incorrect or to become invalid in the future,
the code could be extended to pattern match the variable name.
1 parent 382c807
History
Tip revision: 4e0b313fa7f6d3897f960dd322cfd13daed97c98 authored by Andrew Adams on 18 April 2024, 19:48:59 UTC
Rewrite IREquality to use a more compact stack instead of deep recursion (#8198)
Tip revision: 4e0b313
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.8 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-- 4.2 KB
CMakePresets.json -rw-r--r-- 2.4 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.5 KB
LICENSE.txt -rw-r--r-- 3.2 KB
Makefile -rw-r--r-- 94.7 KB
README.md -rw-r--r-- 20.6 KB
README_cmake.md -rw-r--r-- 68.6 KB
README_rungen.md -rw-r--r-- 12.1 KB
README_webassembly.md -rw-r--r-- 7.5 KB
run-clang-format.sh -rwxr-xr-x 1.4 KB
run-clang-tidy.sh -rwxr-xr-x 3.0 KB

README.md

back to top