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

[TVMScript] Ensure completed root block has no read/write #15249

Merged

Conversation

MasterJH5574
Copy link
Contributor

Prior to this PR, the root block of a parsed TIR TVMScript is possible to have non-empty read/write regions, which conflicts with the design of root blocks in TIR.

This PR updates the script completion pass and ensures that the root block will no longer have read/write region.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Jul 6, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@MasterJH5574 MasterJH5574 force-pushed the tvm-dev/2023-07-05-complete-read-write branch from f271dcf to 358620b Compare July 6, 2023 18:28
Prior to this PR, the root block of a parsed TIR TVMScript is possible
to have non-empty read/write regions, which conflicts with the design
of root blocks in TIR.

This PR updates the script completion pass and ensures that the root
block will no longer have read/write region.
@MasterJH5574 MasterJH5574 force-pushed the tvm-dev/2023-07-05-complete-read-write branch from 358620b to cf827d2 Compare July 6, 2023 20:44
@tqchen tqchen merged commit 916542e into apache:main Jul 7, 2023
junrushao pushed a commit to junrushao/tvm that referenced this pull request Jul 15, 2023
Prior to this PR, the root block of a parsed TIR TVMScript is possible
to have non-empty read/write regions, which conflicts with the design
of root blocks in TIR.

This PR updates the script completion pass and ensures that the root
block will no longer have read/write region.
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.

4 participants