Skip to content

[SYCL] Allow user control over range rounding, and disable for older SYCL spec. #3082

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 4 commits into from
Jan 26, 2021

Conversation

rdeodhar
Copy link
Contributor

This change lets users choose at compile-time whether to do range-rounding.
Rounding is always disabled when using older SYCL specs because the implementation creates const lambdas, which are incompatible with the mutable lambdas allowed in the old spec.
Signed-off-by: rdeodhar [email protected]

@rdeodhar rdeodhar requested a review from a team as a code owner January 22, 2021 21:45
@rdeodhar rdeodhar requested a review from romanovvlad January 22, 2021 21:45
@bader
Copy link
Contributor

bader commented Jan 24, 2021

@rdeodhar, is this patch related to the #3020?

@rdeodhar
Copy link
Contributor Author

This patch is unrelated to #3020.

@pvchupin pvchupin requested a review from romanovvlad January 26, 2021 00:41
@pvchupin pvchupin merged commit f6ac45f into intel:sycl Jan 26, 2021
@pvchupin
Copy link
Contributor

@rdeodhar, please post link to new/updated tests in llvm-test-suite here. I missed this on merge.

@rdeodhar
Copy link
Contributor Author

Yes, I am working on adding a test to llvm-test-suite.

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.

4 participants