Revision d12fbd17b2ec62d7a50fd23a74fbff4f9b247357 authored by Steven Johnson on 23 November 2021, 17:33:38 UTC, committed by GitHub on 23 November 2021, 17:33:38 UTC
The existing code will emit something like `halide_dimension_t foo_buffer_shape[] = {};` for these, which is a zero-length array, which some compilers will (justifiably) say has no effect. We should be able to just use nullptr for the shape in these cases.
1 parent 59d6da7
History
File Mode Size
CMakeLists.txt -rw-r--r-- 639 bytes
cost_function.cpp -rw-r--r-- 1.8 KB
data_dependent.cpp -rw-r--r-- 1.3 KB
extern.cpp -rw-r--r-- 3.6 KB
fibonacci.cpp -rw-r--r-- 1.4 KB
histogram.cpp -rw-r--r-- 4.3 KB
large_window.cpp -rw-r--r-- 1.4 KB
mat_mul.cpp -rw-r--r-- 4.8 KB
max_filter.cpp -rw-r--r-- 4.9 KB
multi_output.cpp -rw-r--r-- 1.4 KB
overlap.cpp -rw-r--r-- 1.6 KB
param.cpp -rw-r--r-- 3.2 KB
reorder.cpp -rw-r--r-- 5.8 KB
small_pure_update.cpp -rw-r--r-- 916 bytes
tile_vs_inline.cpp -rw-r--r-- 1.5 KB
unused_func.cpp -rw-r--r-- 826 bytes
vectorize_var_in_update.cpp -rw-r--r-- 1.5 KB

back to top