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

fix bounds inference bug for bounded interval / unbounded interval #5331

Merged
merged 2 commits into from
Oct 6, 2020

Conversation

rootjalex
Copy link
Member

@rootjalex rootjalex commented Oct 5, 2020

Bug in bounds inference engine, discussed with @abadams @shoaibkamil @alexreinking and @jn80842 .
Maximum value possible from dividing a bounded interval (a0, a1) buy an unbounded interval is max(-a0, a1), which correspond to the cases that a0 is negative but greater in magnitude than a1 (and divided by -1), or where a1 is the maximum possible value (divided by 1).

@abadams
Copy link
Member

abadams commented Oct 5, 2020

I will clone this to get it to run on the buildbots. Stand by.

@abadams abadams added the backport me This change should be backported to release versions label Oct 6, 2020
@abadams abadams merged commit d012df7 into halide:master Oct 6, 2020
@abadams abadams added this to the v10.0.1 milestone Oct 16, 2020
alexreinking pushed a commit that referenced this pull request Oct 16, 2020
fix bounds inference bug for bounded interval / unbounded interval
@alexreinking alexreinking removed the backport me This change should be backported to release versions label Oct 16, 2020
alexreinking pushed a commit that referenced this pull request Oct 18, 2020
fix bounds inference bug for bounded interval / unbounded interval
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants