You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a researcher at Univerity of Lisbon (Portugal) and I want to use GPA to profile ROCm/hip applications. I see that there's no example of how to this for ROCm.
Can you give me a hint on how should I fill the context to pass to GPA_OpenContext() or a general example of the use of the tool to profile a ROCm kernel?
As for now, my codes looks like this:
GPA_ROCm_Context gpaContext;
gpaContext.m_pAgent = ????
gpaContext.m_pQueue = ????
GPA_Status status = g_pFuncTable->GPA_OpenContext(&gpaContext, GPA_OPENCONTEXT_ENABLE_HARDWARE_COUNTERS_BIT, &contextId);
I am a researcher at Univerity of Lisbon (Portugal) and I want to use GPA to profile ROCm/hip applications. I see that there's no example of how to this for ROCm.
Can you give me a hint on how should I fill the context to pass to GPA_OpenContext() or a general example of the use of the tool to profile a ROCm kernel?
As for now, my codes looks like this:
GPA_ROCm_Context gpaContext;
gpaContext.m_pAgent = ????
gpaContext.m_pQueue = ????
GPA_Status status = g_pFuncTable->GPA_OpenContext(&gpaContext, GPA_OPENCONTEXT_ENABLE_HARDWARE_COUNTERS_BIT, &contextId);
As an attachment, I send my example code and a makefile
Makefile.txt
vectoradd_hip.cpp.txt
Thank you
The text was updated successfully, but these errors were encountered: