rocr/aie: Handle non-HSA_STATUS_SUCCESS during VisitRegion#294
rocr/aie: Handle non-HSA_STATUS_SUCCESS during VisitRegion#294ypapadop-amd wants to merge 2 commits intoROCm:amd-stagingfrom
Conversation
atgutier
left a comment
There was a problem hiding this comment.
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. |
|
@dayatsin-amd any comments? |
|
!verify |
|
I think that this can be closed now. |
This PR address a bug that hides the result of a visit during AieAgent::VisitRegion.