Ensure is_done is set for unmanaged commands#9719
Open
richard-byron wants to merge 1 commit intoXilinx:masterfrom
Open
Ensure is_done is set for unmanaged commands#9719richard-byron wants to merge 1 commit intoXilinx:masterfrom
richard-byron wants to merge 1 commit intoXilinx:masterfrom
Conversation
|
@richard-byron is not a repository collaborator. To proceed:
|
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.
Problem solved by the commit
Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered
Introduced in #9649
How problem was solved, alternative solutions (if any) and why they were rejected
There are simpler solutions. Just calling get_state() before is_done() works, as long as you can convince the compiler it actually needs to update m_done. That would leave the other issues unresolved, but I'm not aware of them actually causing problems.
Risks (if any) associated the changes in the commit
Might change behavior with multiple threads waiting on runs to complete.
What has been tested and how, request additional testing if necessary
Tested on several designs, including ones that were hitting the assert and ones that weren't. More testing would definitely be desirable.