-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[PASS] Support for partition loops with thread_axis #81
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
| IRVisitor::Visit_(op); | ||
| relax_map_.erase(var); | ||
| hint_map_.erase(var); | ||
| } |
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.
We need to check if op->type_key == ir::attr::thread_extent. Also thread_axis->dom may not be available, use op->value for the extent of the thread(thread always starts from 0).
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.
We also need to add default condition here to run recursive visit. Otherwise this will results in a BUG that stops visit at AttrStmt that does not match the condition.
* dev * dev * dev: remove barrier op
No description provided.