Skip to content

[SYCL][Driver] Revert -cl-fast-relaxed-math propagation #2707

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

Merged
merged 1 commit into from
Oct 29, 2020

Conversation

bader
Copy link
Contributor

@bader bader commented Oct 29, 2020

This reverts commit ce08889.

Reason: the issue with this implementation is that we can't preserve
correct correlation between the option and the source impacted by this
option. -ffast-math is applied to C++ translation unit, whereas single
SPIR-V module might include code sections from multiple translation
units and some of them might be compiled with -fno-fast-math.

…ntel#2680)"

This reverts commit ce08889.

Reason: the issue with this implementation is that we can't preserve
correct correlation between the option and the source impacted by this
option. `-ffast-math` is applied to C++ translation unit, whereas single
SPIR-V module might include code sections from multiple translation
units and some of them might be compiled with `-fno-fast-math`.
@pvchupin pvchupin merged commit a793a03 into intel:sycl Oct 29, 2020
@bader bader deleted the fast-math branch November 17, 2020 17:11
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 this pull request may close these issues.

3 participants