Revision 9c3615b07285d263dd0e617b61acb793e49f2c7d authored by Andrew Adams on 11 February 2024, 18:41:01 UTC, committed by GitHub on 11 February 2024, 18:41:01 UTC
* Add checks to prevent people from using negative split factors Our analysis passes assume that loop maxes are greater than loop mins, so negative split factors cause sufficient havoc that not even output bounds queries are safe. These are therefore checked on pipeline entry. This is a new way for output bounds queries to throw errors (in addition to the buffer pointers themselves being null, and maybe some buffer constraints). Testing this, I realized these errors were getting thrown twice, because the output buffer bounds query in Pipeline::realize was built around two recursive calls to realize, and both were calling the custom error handler. In addition to reporting errors in this class twice, this implies several other inefficiencies, e.g. jit call args were being prepped twice. I reworked it to be built around two calls to call_jit_code instead. Fixes #7938 * Add test to cmakelists * Remove pointless target arg to call_jit_code It has to be the same as the cached target in the receiving object anyway
1 parent 22581bf
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-- | 383 bytes |
.clang-tidy | -rw-r--r-- | 7.6 KB |
.gitattributes | -rw-r--r-- | 342 bytes |
.gitignore | -rw-r--r-- | 4.9 KB |
.gitmodules | -rw-r--r-- | 0 bytes |
CMakeLists.txt | -rw-r--r-- | 10.9 KB |
CMakePresets.json | -rw-r--r-- | 6.8 KB |
CODE_OF_CONDUCT.md | -rw-r--r-- | 3.5 KB |
LICENSE.txt | -rw-r--r-- | 14.4 KB |
MANIFEST.in | -rw-r--r-- | 159 bytes |
Makefile | -rw-r--r-- | 105.6 KB |
README.md | -rw-r--r-- | 16.5 KB |
README_cmake.md | -rw-r--r-- | 77.0 KB |
README_fuzz_testing.md | -rw-r--r-- | 3.9 KB |
README_python.md | -rw-r--r-- | 31.8 KB |
README_rungen.md | -rw-r--r-- | 12.1 KB |
README_vulkan.md | -rw-r--r-- | 11.4 KB |
README_webassembly.md | -rw-r--r-- | 10.4 KB |
README_webgpu.md | -rw-r--r-- | 5.2 KB |
pyproject.toml | -rw-r--r-- | 196 bytes |
requirements.txt | -rw-r--r-- | 130 bytes |
run-clang-format.sh | -rwxr-xr-x | 1.4 KB |
run-clang-tidy.sh | -rwxr-xr-x | 3.8 KB |
setup.py | -rw-r--r-- | 1.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...