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

[TIR][Schedule] Opaque block does not satisfy stage-pipeline #10166

Closed

Conversation

Hzfengsy
Copy link
Member

@Hzfengsy Hzfengsy commented Feb 4, 2022

Stage pipeline property requires all stmts in scope are schedulable stmts, which means opaque block (block without block vars) does not satisfy the property.

This PR fixes the bug.

cc @junrushao1994 @spectrometerHBH

Copy link
Contributor

@MasterJH5574 MasterJH5574 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks Siyuan for the fix!

Though I'm curious about the negative impact of this "bug" - what kind of problems will it lead to?

@Hzfengsy
Copy link
Member Author

Hzfengsy commented Feb 4, 2022

If users write an opaque block and try to do transformations on it, we will not raise any schedule error but only provide error results.

@Hzfengsy Hzfengsy force-pushed the opaque_block_not_stage_pipeline branch from 0cb2f8d to 54ef2f5 Compare February 5, 2022 04:07
@junrushao
Copy link
Member

Any updates?

1 similar comment
@junrushao
Copy link
Member

Any updates?

@Hzfengsy
Copy link
Member Author

Hzfengsy commented Mar 4, 2022

Let's close this PR since it might need a generic solution.

@Hzfengsy Hzfengsy closed this Mar 4, 2022
@Hzfengsy Hzfengsy deleted the opaque_block_not_stage_pipeline branch February 2, 2024 08:29
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.

None yet

3 participants