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

Adjust the rsqrt error range to account for AMD hardware #757

Closed
amyspark opened this issue May 30, 2022 · 1 comment · Fixed by #790
Closed

Adjust the rsqrt error range to account for AMD hardware #757

amyspark opened this issue May 30, 2022 · 1 comment · Fixed by #790

Comments

@amyspark
Copy link
Contributor

@serge-sans-paille @JohanMabille,

I reported a possible miscodegen error in test_rsqrt to Microsoft here. Turns out, AMD has slight precision issues wrt. Intel, so the test will fail with off-by-one errors for certain inputs.

Would it be possible to set an error range like it's done for the gamma function under AppleClang?

@serge-sans-paille
Copy link
Contributor

Sure! Would you mind proposing a patch?

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 a pull request may close this issue.

2 participants