Repository navigation
Fixing issues found when enabling indirect command buffers. - #18382
Merged
Merged
Conversation
benvanik
force-pushed
the
users/benvanik/indirect
branch
3 times, most recently
from
August 29, 2024 01:25
f12845f to
2b817f7
Compare
benvanik
force-pushed
the
users/benvanik/indirect
branch
5 times, most recently
from
September 9, 2024 19:33
d4019e8 to
5a86dd5
Compare
This is in preparation for making `--iree-hal-indirect-command-buffers=true` the default as part of #17875. Most of the fixes required were related to analysis failures that required stricter handling of duplicate call graph traversal and care around when initializers are combined (which still needs improvement but at a general level not related to this work). A TODO was fixed for supporting `stream.cmd.call` in reusable command buffers by passing binding table ordinals along with buffers to the `stream.cmd.func` ops once lowered into the HAL dialect - there are no users of this functionality today but now it won't be a special case.
benvanik
force-pushed
the
users/benvanik/indirect
branch
from
September 9, 2024 20:24
5a86dd5 to
5435384
Compare
--iree-hal-indirect-command-buffers=true by default.
benvanik
marked this pull request as ready for review
September 9, 2024 20:37
ScottTodd
approved these changes
Sep 9, 2024
Contributor
|
@benvanik This PR caused compilation failure for inlineHAL cases (with flag "--iree-execution-model=inline-dynamic"): error: 'util.initializer' op failed to inline into combined initializer. Is it a corner case that was not covered? |
josemonsalve2
pushed a commit
to josemonsalve2/iree
that referenced
this pull request
Sep 14, 2024
…g#18382) This is in preparation for making `--iree-hal-indirect-command-buffers=true` the default as part of iree-org#17875. Most of the fixes required were related to analysis failures that required stricter handling of duplicate call graph traversal and care around when initializers are combined (which still needs improvement but at a general level not related to this work). A TODO was fixed for supporting `stream.cmd.call` in reusable command buffers by passing binding table ordinals along with buffers to the `stream.cmd.func` ops once lowered into the HAL dialect - there are no users of this functionality today but now it won't be a special case.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is in preparation for making
--iree-hal-indirect-command-buffers=truethe default as part of #17875.Most of the fixes required were related to analysis failures that required stricter handling of duplicate call graph traversal and
care around when initializers are combined (which still needs improvement but at a general level not related to this work). A TODO was fixed for supporting
stream.cmd.callin reusable command buffers by passing binding table ordinals along with buffers to thestream.cmd.funcops once lowered into the HAL dialect - there are no users of this functionality today but now it won't be a special case.