https://github.com/halide/Halide
Revision 1e7040c9ab44c31b4754aa0cdd3ca0555c8f8142 authored by Steven Johnson on 31 January 2022, 21:30:55 UTC, committed by GitHub on 31 January 2022, 21:30:55 UTC
* Various fixes to static-dimensioned Buffer

- Buffer needed to make some methods constexpr, and also had a broken return value for `as<>()`
- Various templated methods needed to add `int Dims` as a parameter
- Generator::add_input() and add_output() needed specializations for static-buffer types
- sliced() and embedded() should use the default values for InClassDimStorage
- halide_image_io should use a named constant

* Convert Buffer<> usage in python_bindings/ to use static dimensions

...where it seems sensible to do so, that is.

* Update Generator.h
1 parent b9a4cb3
History
Tip revision: 1e7040c9ab44c31b4754aa0cdd3ca0555c8f8142 authored by Steven Johnson on 31 January 2022, 21:30:55 UTC
Convert Buffer<> usage in python_bindings/ to use static dimensions (#6591)
Tip revision: 1e7040c
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-- 5.6 KB
CMakePresets.json -rw-r--r-- 5.2 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.5 KB
LICENSE.txt -rw-r--r-- 3.2 KB
Makefile -rw-r--r-- 102.8 KB
README.md -rw-r--r-- 16.4 KB
README_cmake.md -rw-r--r-- 72.6 KB
README_rungen.md -rw-r--r-- 12.1 KB
README_webassembly.md -rw-r--r-- 10.5 KB
run-clang-format.sh -rwxr-xr-x 1.4 KB
run-clang-tidy.sh -rwxr-xr-x 3.2 KB

README.md

back to top