-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[DOC][Tutorial] How to write a pass in python #1308
Comments
@were @ZihengJiang may have more suggestions to provide. The goal is to understand how to do low level IR transformations, and related python function to do so. Doing so a simple example task, like(mark a serial loop as parallel), or replace a pattern with intrinsic, would be a useful thing |
also cc @xqdan @libing4752 |
@were would you be interested in this? |
@tqchen What do you mean by a "pass"? I have some experience in using IRTransformer and IRPostOrderVisitor, so I think I can do this? |
pass means transformations between IRs, so these are approperiate @were |
OK. Then essentially, what we want on the tutorial becomes how to gather information via IR and how to transform the IR. |
Where is a good place to put this tutorial? |
I have written one #1671, but it is still crashing when building docs. Anyone can help? |
Since #1671 is merged, should we close this issue? |
@tqchen As part of roadmap v0.4, I'd like to write a tutorial on how to write a pass in python, but I'll need to know more details. Could you point me where to look for and what the goals are more specifically?
The text was updated successfully, but these errors were encountered: