Repository navigation
Use persistent storage for SubmissionBatch in SerializingCommandQueue. - #2431
Merged
Merged
Conversation
antiagainst
approved these changes
Jul 8, 2020
antiagainst
left a comment
Member
There was a problem hiding this comment.
Awesome. Thanks Scott for addressing this!
| void AbortQueueSubmission(); | ||
|
|
||
| private: | ||
| struct PendingBatch { |
Member
There was a problem hiding this comment.
I think we can just embed this struct inside FencedSubmssion. But it's a small issue so your call. :)
Member
Author
There was a problem hiding this comment.
Modeled after iree/hal/host/serial/serial_submission_queue: https://github.com/google/iree/blob/a672e635d09960a6acb270b79af850dfd4103637/iree/hal/host/serial/serial_submission_queue.h#L73-L81
Merged
Member
|
This is my current best-guess culprit for timeouts I see trying to import #2462 into google: Looks like a deadlock maybe? |
GMNGeoffrey
added a commit
that referenced
this pull request
Jul 10, 2020
…andQueue." (#2465) Reverts #2431 This commit is causing mysterious timeouts in some vulkan configurations. We'll continue to investigate, but to unblock integration, going to revert for now. Lack of GPU testing in OSS is hurting us 😢 @ScottTodd confirmed that reverting eliminates the timeouts.
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.
SubmissionBatch contains
absl::Span<T>members and thus must be copied if the data it wraps is expected to live beyond the scope ofCommandQueue::Submit(): https://github.com/google/iree/blob/d7835cad52c4e74bc71f36a98567b144c92f3837/iree/hal/command_queue.h#L33-L48https://github.com/google/iree/blob/d7835cad52c4e74bc71f36a98567b144c92f3837/iree/hal/command_queue.h#L82-L86
This was caught by ASAN's
sanitize-address-use-after-scoperunning the tests in #2196.