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 flattening of ramps involving 64-bit mins #5940

Merged
merged 2 commits into from
Apr 26, 2021
Merged

Conversation

dsharletg
Copy link
Contributor

With Target::LargeBuffers, min_lane is int64, but stride is an int, which then triggers an assert because the ramp is of mismatched types.

@dsharletg dsharletg merged commit 5a69e9f into master Apr 26, 2021
@dsharletg dsharletg deleted the dsharletg/flatten branch April 26, 2021 21:12
frengels pushed a commit to frengels/Halide that referenced this pull request Apr 30, 2021
* Fix flattening of ramps involving 64-bit mins.

* Use make_const instead of cast.
@alexreinking alexreinking added this to the v12.0.0 milestone May 19, 2021
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