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 type error in VectorizeLoops #8055

Merged
merged 1 commit into from
Feb 1, 2024
Merged

Fix type error in VectorizeLoops #8055

merged 1 commit into from
Feb 1, 2024

Conversation

abadams
Copy link
Member

@abadams abadams commented Feb 1, 2024

bounds_of_lanes is supposed to return scalars, but the Ramp visitor was constructing a broadcast vector constant for the index of the last lane, which was then vectorizing everything else.

Fixes #8054

If we get another fuzzer-found failure coming from the bilateral grid app I'll do some refactoring in the fuzz_schedule test to not have to repeat the whole algorithm.

@abadams
Copy link
Member Author

abadams commented Feb 1, 2024

@steven-johnson This fixes a bug in #8039, so if we backport that to release 17, we should backport this too.

@abadams abadams merged commit e2448fe into main Feb 1, 2024
19 checks passed
steven-johnson pushed a commit that referenced this pull request Feb 1, 2024
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
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.

Internal Error triggered by vectorization
2 participants