radeon_gpu_profiler icon indicating copy to clipboard operation
radeon_gpu_profiler copied to clipboard

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

Open jounghoolee opened this issue 2 years ago • 2 comments

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.

jounghoolee avatar May 10 '22 00:05 jounghoolee

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.

chesik-amd avatar May 31 '22 16:05 chesik-amd

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

sysmanalex avatar Aug 25 '22 17:08 sysmanalex