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

Properly detect Float16 support on Sapphire Rapids on 1.9 #51700

Conversation

BioTurboNick
Copy link
Contributor

@BioTurboNick BioTurboNick commented Oct 14, 2023

Fixes #51686

Interestingly, only one float16 Base test failed on 1.9.3: string(reinterpret(Float16, 0x7bff)) == "6.55e4", throwing a BoundsError. But it passes with this PR.

Does not fix #51482 however.

@giordano
Copy link
Contributor

I think it'd have been better to at least cherry pick ee82caa (from #46499) to retain authorship and also add the appropriate test. I'm also not entirely sure whether backporting a new feature is a good idea. @KristofferC?

@BioTurboNick
Copy link
Contributor Author

BioTurboNick commented Oct 14, 2023

Fair, I'm just not familiar with doing that operation. - Done

Is it really considered a new feature, or fixing an oversight?

* Add float16 multiversioning for x86

Co-authored-by: pchintalapudi <[email protected]>
Co-authored-by: Mosè Giordano <[email protected]>
@BioTurboNick BioTurboNick force-pushed the float16-sapphirerapids branch from 03274a0 to a639fab Compare October 14, 2023 13:39
@BioTurboNick
Copy link
Contributor Author

That commit alone was enough to address #51686 and have the tests fully pass.

CSV.jl precompilation still seems to be more elusive.

@brenhinkeller brenhinkeller added bugfix This change fixes an existing bug float16 labels Oct 17, 2023
@KristofferC KristofferC force-pushed the backports-release-1.9 branch 2 times, most recently from 4f07359 to 926a060 Compare October 18, 2023 17:25
@KristofferC KristofferC deleted the branch JuliaLang:backports-release-1.9 November 7, 2023 09:09
@KristofferC KristofferC closed this Nov 7, 2023
@vchuravy
Copy link
Member

Can you reopen the PR? I think you need to target release-1.9

@BioTurboNick
Copy link
Contributor Author

I do not have the option to reopen unfortunately

@giordano
Copy link
Contributor

Click on the "create pull request" button in release-1.9...BioTurboNick:julia:float16-sapphirerapids

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug float16
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants