GPUOpen-Tools / gpu_performance_api

GPU Performance API for AMD GPUs
MIT License
251 stars 46 forks source link

Does GPA support HIP compute applications? #76

Open xuantengh opened 1 year ago

xuantengh commented 1 year ago

Does GPA support profiling for HIP applications? I notice there is already a issue #44 asking this but still no answer.

PLohrmannAMD commented 1 year ago

GPA does not currently support HIP (or ROCm) applications.

Thanks for bringing that earlier request to my attention. I will respond there as well.

PLohrmannAMD commented 1 year ago

While GPA does not support HIP, I would recommend that you look at our latest release the Radeon GPU Profiler (RGP), which now supports profiling HIP applications! https://gpuopen.com/rgp/

xuantengh commented 1 year ago

While GPA does not support HIP, I would recommend that you look at our latest release the Radeon GPU Profiler (RGP), which now supports profiling HIP applications! https://gpuopen.com/rgp/

However, from the RGP repo, it seems that profiling HIP compute APIs is not support yet on Linux. Is there any way to profiling HIP program on Linux? Thanks.

PLohrmannAMD commented 1 year ago

AMD's HIP implementation on Linux is based on ROCm, so your best bet appears to be the ROCProfiler available here: https://github.com/ROCm-Developer-Tools/rocprofiler

I haven't used it myself, but hopefully it will work for your needs!