Add AMD Zen5 Granite Ridge (Ryzen 9000) support#746
Conversation
|
Thanks for the addition. Unfortunately, there is no public documentation for family 0x1A model 0x44 yet. So it is unclear whether the platform provides the exact same counters/events as the existing ZEN5_EPYC. I have to delay the merge until we can check that. Since there was a recent fix regarding Zen5, can you please apply your patches to #745 (branch |
|
Thanks for the feedback. Done and SGTM to wait. likwid-perfctr -i | head -10likwid-perfctr -e | sed -n '/^Counter tags/,/^Event tags/p' | head -n -2likwid-perfctr -f -C 0 -g FLOPS_DP ./bench/likwid-bench -t copy -w S0:1GB:1 |
|
Can you please run the code provided by @loonatick-src in #744 (comment) . It looks strange to me that the system has only 2 memory controllers |
|
Here is the output of the probe from #744. So there are genuinely 16 |
|
I just checked AMD's documentation page and unfortunately, still no docs for this variant. |
Adds support for AMD Granite Ridge desktop CPUs (Ryzen 9000 series), family
0x1Amodel0x44, exposed as a newZEN5_RYZENmodel constant.Granite Ridge shares the Zen 5 core with EPYC (
ZEN5_EPYC), so the existing Zen5 event tables are reused unchanged.ZEN5_RYZENis added alongsideZEN5_EPYC/ZEN5C_EPYCin every relevant switch/conditional.Tested on AMD Ryzen 9 9950X3D with CLOCK/L2CACHE/L3CACHE/MEM groups.
cat /proc/cpuinfocontains