Revision 2a4f364df1daeac12b8466073e0682334ddcdd40 authored by Steven Johnson on 12 August 2019, 21:09:20 UTC, committed by Steven Johnson on 12 August 2019, 21:09:20 UTC
bounds_query_input_shapes() agressively fails if we can't complete the bounds-query, which can happen if the constraints on inputs are nontrivial. While we can (and should) improve the bounds-query logic to make this more robust, we shouldn't aggressively fail here in the first place, as the bounds-query shape(s) end up unused if we have estimates for the inputs (which we usually do). This just adds a ShapePromise type that wraps access to the resulting Shapes inside a function; if we never need the shape, the failure doesn't matter and never happens.
1 parent a8128b1
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-- | 1.8 KB |
CMakeLists.txt | -rw-r--r-- | 17.2 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-- | 89.8 KB |
README.md | -rw-r--r-- | 15.9 KB |
README_cmake.md | -rw-r--r-- | 9.9 KB |
README_rungen.md | -rw-r--r-- | 12.1 KB |
README_webassembly.md | -rw-r--r-- | 10.9 KB |
halide.cmake | -rw-r--r-- | 30.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...