Skip to content

[Codegen][GPU] Fix forall hositing arg use in single trip loops - #18657

Merged
nirvedhmeshram merged 1 commit into
iree-org:mainfrom
nirvedhmeshram:scf_for_all_hoist
Oct 1, 2024
Merged

nirvedhmeshram merged 1 commit into
iree-org:mainfrom
nirvedhmeshram:scf_for_all_hoist

Conversation

@nirvedhmeshram

@nirvedhmeshram nirvedhmeshram commented Oct 1, 2024 •

Copy link
Copy Markdown
Contributor

Currently. For single trip count scf.forall we don't correctly replaces users after scf.forall hoisting since that logic is based on finding the hoisted slices (which don't exist for single trip count). This PR fixes that by correctly setting up the iterArgs in such a case.

Progress towards: #18603

@qedawkins qedawkins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice, thanks!

@nirvedhmeshram
nirvedhmeshram merged commit 9c39a29 into iree-org:main Oct 1, 2024
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