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 |
---|---|---|
auto_schedule | ||
common | ||
correctness | ||
error | ||
failing_with_issue | ||
generator | ||
opengl | ||
performance | ||
scripts | ||
warning | ||
CMakeLists.txt | -rw-r--r-- | 16.8 KB |
internal.cpp | -rw-r--r-- | 945 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...