Skip to content

Simplifier rules for nested broadcasts#5794

Merged
dsharletg merged 2 commits intomasterfrom
dsharletg/simplify-nested-broadcasts
Mar 8, 2021
Merged

Simplifier rules for nested broadcasts#5794
dsharletg merged 2 commits intomasterfrom
dsharletg/simplify-nested-broadcasts

Conversation

@dsharletg
Copy link
Contributor

@dsharletg dsharletg commented Mar 8, 2021

This PR adds some simplifier rules for nested broadcasts that result from vectorizing multiple dimensions. We had rules for nested broadcasts, and rules for broadcasts of the same size reassociated with one other expression, but not rules for nested broadcasts of different size also reassociated.

These rules are helpful for schedules that avoid performance regressions in #5784, by simplifying multidimensional vectorization when leaving buffers interleaved (and fuse doesn't work).

@dsharletg dsharletg merged commit a83ab23 into master Mar 8, 2021
@dsharletg dsharletg deleted the dsharletg/simplify-nested-broadcasts branch March 8, 2021 19:24
@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.

3 participants