-
Notifications
You must be signed in to change notification settings - Fork 789
Correct some cuda/sycl accuracy from 0.0 to 0.5 and add relate handling. #12213
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
Conversation
Several functions for "sycl" and "cuda" requires "0.5" accuracy levels, which means correctly rounded results. For now x86 host AltMathLibrary doesn't have such ability. For such accuracy level, the fpbuiltins should be replaced by equivalent IR operation or llvmbuiltins.
ping for review |
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.
FE changes look okay to me, but someone else will need to check/verify the IR in the tests.
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
Thanks for review @premanandrao @andykaylor |
ping for review @intel/dpcpp-tools-reviewers |
1 similar comment
ping for review @intel/dpcpp-tools-reviewers |
@intel/llvm-gatekeepers, this seems to be ready to land. Any objections to merge? |
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.
Sorry for late review. LGTM.
Several functions for "sycl" and "cuda" requires "0.5" accuracy levels, which means correctly rounded results. For now x86 host AltMathLibrary doesn't have such ability. For such accuracy level, the fpbuiltins should be replaced by equivalent IR operation or llvmbuiltins.