-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
AMD Zen 3 CPU support (Fixes #45657) #45663
Conversation
CC @yuyichao, thanks. |
There is some community around archspec |
One caveat that i'm observing here, is that specifying
... but it works with I guess it's expected? |
This should not happen on the same machine. |
Oh, i get it now. Zen 3 also implemented |
Now with |
I'm not sure i understand those test failures. |
Yeah not relevant to your PR. x-ref: #45613 (comment) |
I've omitted `invpcid` feature since it's clearly omitted for other CPU's. It's a bit sad that the very same code is being repeated in every project :/ Fixes JuliaLang#45657
Was the thing that didn't work compiling with native and running with znver3? Yeah that'll not work if there's a mismatch. Compiling and running with native (the default) should work though no matter what feature you've listed for znver3.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I'm just assuming that the feature set and CPU id is correct.......
Something like that, yes. I've debugged that by dumping the Line 61 in 628209c
I'm confident that it is, and it works now. |
You could just do a |
I could, but i didn't know i could. Still looks good:
|
Apologies, i'm not familiar with the julia's PR workflow. |
I've omitted `invpcid` feature since it's clearly omitted for other CPU's. Fixes JuliaLang#45657 (cherry picked from commit 3f047f7)
@KristofferC thank you! |
I've omitted
invpcid
feature since it's clearly omitted for other CPU's.It's a bit sad that the very same code
is being repeated in every project :/
Fixes #45657