Skip to content
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

Add support for scheduling barriers #185

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Conversation

harsh-nod
Copy link
Contributor

@harsh-nod harsh-nod commented Oct 2, 2024

This PR adds op for scheduling barriers and
scheduling group barriers. These are placed
after every cycle in the kernel.

@harsh-nod harsh-nod force-pushed the sbar2 branch 15 times, most recently from df93ab6 to 34457f6 Compare October 4, 2024 20:29
@harsh-nod harsh-nod force-pushed the sbar2 branch 2 times, most recently from 627b18f to ede218e Compare October 4, 2024 20:48
This PR adds op for scheduling barriers and
scheduling group barriers. These are placed
after every cycle in the pipelined kernel.

Due to a LLVM bug, only use ```use_scheduling_barriers=True```
when your local LLVM repo has been
patched with the LLVM fix.

Signed-off-by: Harsh Menon <harsh@nod-labs.com>
@harsh-nod harsh-nod merged commit f207ca5 into iree-org:main Oct 8, 2024
7 of 8 checks passed
stellaraccident pushed a commit that referenced this pull request Oct 13, 2024
This PR adds op for scheduling barriers and
scheduling group barriers. These are placed
after every cycle in the kernel.

Signed-off-by: Harsh Menon <harsh@nod-labs.com>
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.

2 participants