-
Notifications
You must be signed in to change notification settings - Fork 115
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
rocr/aie: Handle non-HSA_STATUS_SUCCESS during VisitRegion #294
base: amd-staging
Are you sure you want to change the base?
rocr/aie: Handle non-HSA_STATUS_SUCCESS during VisitRegion #294
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. One minor nit: I know I was using status, but I noticed that err seems to be common elsewhere. Can you rename the status var to err here? Thanks!
You mean
|
No, I just mean generally throughout the runtime they use err for hsa_status_t codes. |
OK. Just this instance or do you mean the whole file? BTW, it can also be HSA_STATUS_INFO_BREAK, which is not error, just an early exit (i.e., you found what you were looking for and you don't want the visitor to continue). |
Up to you if you want to change the whole file. Would probably be for the best as I prefer we remain consistent with existing style when possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
This PR address a bug that hides the result of a visit during AieAgent::VisitRegion.