[UR][L0v2] Add graph support for batched queue#21324
Open
KFilipek wants to merge 17 commits into
Open
Conversation
560edb4 to
7c9779b
Compare
09eaf7d to
2200aa5
Compare
2200aa5 to
3f6298f
Compare
kswiecicki
requested changes
Feb 20, 2026
EuphoricThinking
requested changes
Feb 23, 2026
EuphoricThinking
requested changes
Feb 23, 2026
1d21010 to
66e360e
Compare
44d0c9e to
77ae0d5
Compare
f017edc to
2a928d5
Compare
Contributor
Author
|
There is the same error on |
c851cd3 to
91ef91a
Compare
Contributor
|
Regarding this comment, I see that the other queues, the immediate and out of order, do not handle the situation when queueFinish is called with the graph capture being active. Could you address this issue in future PRs? |
…ero v2 batched queue
During graph capture, commands are appended to an immediate command list instead of the regular batch.
Before beginning graph capture, enqueue the current batch (regular command list) to preserve operation order. This ensures the queue is empty before switching to immediate list mode for graph capture, similar to command buffer handling. Apply to both queueBeginGraphCapteExp and queueBeginCapteIntoGraphExp.
During graph capture, operations are recorded to the immediate command list. Synchronization and flushing operations don't apply to graph recording, so return early when graph capture is active. Also added a clarifying comment in queueIsGraphCapteEnabledExp about the returned command list.
This ensures consistency with other enqueue methods and provides proper context for event handling during graph capture.
91ef91a to
e2d1afb
Compare
Contributor
Author
Sure, I can handle it. |
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 PR adds support for graph capture and execution in the Level Zero v2 batched queue implementation.
Changes:
capture state