-
Notifications
You must be signed in to change notification settings - Fork 156
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
Improve SSCP std builtins remapping for -ffast-math #1435
Labels
bug
Something isn't working
Comments
illuhad
changed the title
JIT compilation fails if fast-math is enabled
Improve SSCP std builtins remapping for -ffast-math
Apr 9, 2024
We should also look into supporting the functions here: https://gcc.gnu.org/onlinedocs/gccint/Soft-float-library-routines.html which is where the mentioned Not sure though why these are specifically emitted with fast-math, seems as this is more related to emulating functions without hardware support. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug summary
If fast-math is enabled, the JIT compilation (on an NVIDIA GPU) fails when using
std::pow
insidestd::for_each
with:The same also happens with
std::exp
:To Reproduce
Compile a code snippet using C++ standard parallelism on an NVIDIA GPU with AdaptiveCpp v24.02.0
Expected behavior
JIT compilation should not fail.
The text was updated successfully, but these errors were encountered: