Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loosen preconditions on div by single point in Bounds.cpp #5407

Merged
merged 4 commits into from Oct 28, 2020

Conversation

rootjalex
Copy link
Member

Due to Halide division by 0 semantics, the precondition can be loosened for bounds inference on division by a single point, as an interval divided by the zero interval produces the zero interval.
Discussed with @abadams @shoaibkamil and @jn80842 .

src/Bounds.cpp Outdated Show resolved Hide resolved
@abadams abadams merged commit 3fd654f into halide:master Oct 28, 2020
@rootjalex rootjalex deleted the ajr-div-precond branch November 22, 2020 08:09
@alexreinking alexreinking added this to the v11.0.0 milestone Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants