Skip to content

Conversation

@mxz297
Copy link

@mxz297 mxz297 commented Jan 21, 2022

I noticed that rocm-4.5.2 tag is one commit ahead of rocm-4.5.x branch and that commit contains only newly added comments. Therefore, I decide to post the PR based on the rocm-4.5.x.

The main change is that hsa_api_ becomes a member rather than a static member of HsaRsrcFactory. This ensures that hsa_api_ will always be initialized with the public HSA function entries (so that one can use HsaRsrcFactory object to call HSA functions) and then one can reset hsa_api_ with internal HSA implementations for intercepting HSA calls.

This fixes #66 for both collecting performance counters and getting code object URI from roctracer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant