-
Notifications
You must be signed in to change notification settings - Fork 10
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
Optimization Passes for dynamic_gather
#184
Comments
so there's several opts here worth doing.
|
avik-pal
changed the title
Fuse multiple
Optimization Passes for Dec 15, 2024
dynamic_gather
into a single dynamic_gather
+ multiple slice
?dynamic_gather
@wsmoses I have a question about "eventually scatter of dynamic gather", do we want to replace scatter + gather by a mask such as that; I have no idea how to deal with more complex transformation. @avik-pal do you have ideas for that?
=>
Thanks in advance! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comes from
fn(x) = Tridiagonal(x) .+ 1
.Essentially if we fuse the
dynamic_gather
s intodynamic_gather
+slice
, then theslice + concatenate
will get eliminated by another pass.(In this particular case even the
dynamic_gather
+scatter
can be eliminated, but that is probably much harder to write a pass for)The text was updated successfully, but these errors were encountered: