Skip to content

Conversation

@RonRahaman
Copy link

This adds support for Intel Granite Rapids. The changes are:

  • Description of the Granite Rapids to microsarchitectures.json
  • Addition of test output from my site's /proc/cpuinfo on our RHEL9 Granite Rapids machine.

Fixes #137

@alalazo
Copy link
Member

alalazo commented Jul 2, 2025

Apologies for the delay. I think there may be a few features missing:

>>> import archspec.cpu
>>> archspec.cpu.TARGETS["graniterapids"]
Microarchitecture('graniterapids')
>>> g = archspec.cpu.TARGETS["graniterapids"].features
>>> s = archspec.cpu.TARGETS["sapphirerapids"].features
>>> g - s
{'xsave', 'fsgsbase', 'enqcmd', 'wbnoinvd', 'pku', 'avx_vnni', 'tsxldtrk', 'xsaves', 'avx512_fp16', 'cx16', 'fxsr', 'pconfig'}
>>> s - g
{'adx', 'xsaveopt', 'sha_ni', 'vpclmulqdq', 'vaes', 'pclmulqdq'}

Also, one of our test for sapphirelake is detected as granitelake. I wonder if we have a wrong test 🤔

@alalazo alalazo self-assigned this Jul 2, 2025
@alalazo alalazo added the enhancement New feature or request label Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Intel Granite Rapids CPUs

2 participants