Skip to content

[SYCL-MLIR][cgeist] Do not use SingleBlock::push_back on gpu.module #11270

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

Merged
merged 3 commits into from
Sep 25, 2023

Conversation

victor-eds
Copy link
Contributor

DO NOT SQUASH AND MERGE THIS PR

Adapt to upstream SingleBlock and Block changes after conversation

@victor-eds victor-eds added the sycl-mlir Pull requests or issues for sycl-mlir branch label Sep 22, 2023
@victor-eds victor-eds self-assigned this Sep 22, 2023
@victor-eds victor-eds requested a review from a team as a code owner September 22, 2023 13:35
@victor-eds
Copy link
Contributor Author

Only review 94182960f2ebff9da93511f185c5da023b8367a8

…6655)

Instead of checking whether the last operation might be a terminator,
always insert operations to the end of the block.

Signed-off-by: Victor Perez <[email protected]>
…6870)

This `Block` member function may be misleading to users as the last
operation in the block might have not been registered, so there would
be no way to ensure that is a terminator.

Signed-off-by: Victor Perez <[email protected]>
This leads to pushing operations after the terminator.

Signed-off-by: Victor Perez <[email protected]>
@victor-eds victor-eds merged commit 3640d63 into intel:sycl-mlir Sep 25, 2023
@victor-eds victor-eds deleted the rebase-singleblock branch September 25, 2023 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sycl-mlir Pull requests or issues for sycl-mlir branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants