Skip to content

Fix DYNAMIC_ARCH CPU detection for Emerald Rapids - #6160

Merged
martin-frbg merged 1 commit into
OpenMathLib:developfrom
lujiaweics:fix/dynamic-arch-emerald-rapids-detection
Oct 23, 2026
Merged

martin-frbg merged 1 commit into
OpenMathLib:developfrom
lujiaweics:fix/dynamic-arch-emerald-rapids-detection

Conversation

@lujiaweics

Copy link
Copy Markdown
Contributor

In DYNAMIC_ARCH builds the Emerald Rapids CPU is not detected and fallsback to Cooper Lake. The detection logic for Emerald Rapids already exists in cpuid_x86.c, so this commit just ports it here.

Tested on a local Sapphire Rapids server.

back to Cooper Lake. The detection logic for Emerald Rapids already exists
in cpuid_x86.c, so this commit just ports it here.

Tested on a local Sapphire Rapids server.
@martin-frbg martin-frbg added this to the 0.3.35 milestone Oct 22, 2026
@martin-frbg

Copy link
Copy Markdown
Collaborator

Thanks - looks like I forgot about amx when I added the cascading fallback. (But I guess having dedicated cpuid code for Emerald can't hurt, especially if getarch already has it)

@lujiaweics

Copy link
Copy Markdown
Contributor Author

Thanks - looks like I forgot about amx when I added the cascading fallback. (But I guess having dedicated cpuid code for Emerald can't hurt, especially if getarch already has it)

Agreed

@martin-frbg
martin-frbg merged commit 14d299d into OpenMathLib:develop Oct 23, 2026
110 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants