GPUOpen-Tools / radeon_gpu_profiler

Radeon GPU Profiler (RGP) is a tool from AMD that allows for deep inspection of GPU workloads.
396 stars 41 forks source link

Does Radeon GPU Profiler supports Ryzen 6000 series for cache hit/miss counters? #70

Open jounghoolee opened 2 years ago

jounghoolee commented 2 years ago

Hello.

I am trying to profile graphic workloads with AMD tools in Lap top. The GPU metrics I am mostly intersted in is L1/L2/L3 cache hit/miss count.

I am finding for AMD APU(i.e., integrated graphic cards) which provide cache hit/miss count through Radeon GPU Profiler.

Radeon GPU Profiler document says "Cache counter data is only available on Radeon RX 5000 series and Radeon RX 6000 series GPUs". They are all RDNA(2) architectures. Therefore I wonder SOTA APU with RDNA2 architecutre (i.e., Ryzen 6000 series) might provide cache counter data through Radeon GPU Profiler.

Otherwise if there are other APUs which provide L1/L2/L3 cache hit/miss count, it would be really helpful.

Thank you very much.

chesik-amd commented 2 years ago

Hello. This is a Known Issue (mentioned here: https://github.com/GPUOpen-Tools/radeon_gpu_profiler/blob/master/Release_Notes.txt#L45). Unfortunately, the streaming counters used by RGP are not yet fully reliable on APUs, so current builds of RGP do not expose them

For now, I think your only alternative to get the cache counters will be to use either RenderDoc or PIX, both of which expose the discrete (non-streaming) counters from GPUPerfAPI.

sysmanalex commented 2 years ago

AMD RX 6800/6900 XT - both rocprofiler_open(), ImportMetrics(), Bad metric 'L2CacheHit', var 'TCC_HIT[0]' is not found is somethere list of public avlb counters for NAVI 2 arch ? gfx1030 ?

amdgpu 22.10 installed. according to Release_Notes.txt Cache counter support for OpenCL applications (requires a 21.20-based driver) ERROR: rocprofiler_iterate_info(), ImportMetrics(), Bad metric 'L2CacheHit', var 'TCC_HIT[0]' is not found