Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove pku from feature list for zen3 #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

boegel
Copy link
Member

@boegel boegel commented Jan 25, 2022

fixes #38

@boegel boegel requested a review from alalazo January 25, 2022 08:35
Copy link
Member

@alalazo alalazo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I said I think this is the wrong approach (as in the compiler can emit code that will cause illegal instruction for a detected architecture).

Looking at the discussion, there might be a "dimension" we didn't account for, i.e. compilers adding instruction sets over time to already existing architectures - I need to check that with GCC and go back to old compilers to see if not having PKU on Intel is due to that or to us forgetting adding the instruction set.

If the same microarchitecture can get new features over time we need to think how to model "optional features" and use them to emit the correct compiler flags.

@tgamblin @becker33 You might be interested in this discussion

@alalazo
Copy link
Member

alalazo commented Jan 25, 2022

Fwiw I suggested a stop-gap solution in #38 (comment) and tried to add an agenda item in the weekly telco of the Spack community https://github.com/spack/spack/wiki/Telcon:-2022-01-26

@alalazo
Copy link
Member

alalazo commented Feb 23, 2024

We recently merged this one in archspec archspec/archspec#146 which provides a way to customize microarchitectures.

Would this be enough to consider the issue closed?

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.

archspec 0.1.3 identies AMD Milan in Azure as zen2 due to pku feature that is only listed for zen3
2 participants