Revision d5a81186a0093bc4e1b02bd37757a5f1ba8b2390 authored by Andrew Adams on 26 September 2022, 21:47:13 UTC, committed by GitHub on 26 September 2022, 21:47:13 UTC
* Clean up some pointless code

* Improve comment on Halide::round

* Make Halide::round round to even as documented

* Explicitly set the rounding mode in the C backend

* Use rint on ptx, which is documented to round to even

* round to even on win32

* the nvidia libdevice is buggy for doubles

See https://reviews.llvm.org/D85236

* Add missing include to C output

* Fix rounding in opencl

* Don't test opencl with doubles if CLDoubles is not enabled

* Work around hexagon issue

* Don't try to emit roundeven on wasm

* wasm doesn't support float16

* Add vectorizable lowering for round on platforms without roundeven

* Use rint on metal for Halide::round

* Make round an intrinsic

* Constant-fold round in simplifier

* d3d12 fix

* Bounds of Call::round

* Teach the mullapudi cost model about round

* Handle PureIntrinsics of const args in bounds

* scatter, undef, and require aren't pure

* metal doesn't support doubles

* More parens

* Add missing return

* Add vector versions of rint for wasm

* Use nearbyint for wasm instead of rint

* revert change to mangling

* d3d12 doesn't like double input/output buffers

* Lower round on arm-32 not-linux

* Don't simplify lowering of round-to-nearest-ties-to-even in codegen

* Fix infinite loop in round lowering on arm-32-notlinux

* Take care to never revisit args in bounds call visitor

* Remove defunct comment

Co-authored-by: Steven Johnson <srj@google.com>
1 parent 59353ab
History
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-- 286 bytes
.clang-tidy -rw-r--r-- 2.2 KB
.gitattributes -rw-r--r-- 342 bytes
.gitignore -rw-r--r-- 5.0 KB
.gitmodules -rw-r--r-- 0 bytes
CMakeLists.txt -rw-r--r-- 4.9 KB
CMakePresets.json -rw-r--r-- 5.6 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.5 KB
LICENSE.txt -rw-r--r-- 13.8 KB
Makefile -rw-r--r-- 103.2 KB
README.md -rw-r--r-- 16.4 KB
README_cmake.md -rw-r--r-- 74.7 KB
README_python.md -rw-r--r-- 32.1 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.1 KB

README.md

back to top