-
Notifications
You must be signed in to change notification settings - Fork 25
Add a dedicated pass to partition gathers/scatters #259
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
Conversation
ab400b1 to
42a5386
Compare
814686b to
f63235c
Compare
harsh-nod
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be a nice cleanup. thanks!
| elements_per_thread=1, | ||
| ).add_to_graph(custom.graph) | ||
| elif isinstance(custom, Read): | ||
| # TODO: Add support on how to handle strided reads. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why won't the existing code handle strided reads? And what about strides writes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was a stale comment, removed
f63235c to
da329a3
Compare
Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
da329a3 to
daceb1a
Compare
Move gather/scatter decomposition into dedicated pass. This allows to cleanup a lot of code in read/write handlers and get rid of last traces of `vector.gather`/`scatter` there. --------- Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
Move gather/scatter decomposition into dedicated pass. This allows to cleanup a lot of code in read/write handlers and get rid of last traces of
vector.gather/scatterthere.