Skip to content

[SYCL] Add missing fabs #12218

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 2 commits into from
Jan 11, 2024
Merged

[SYCL] Add missing fabs #12218

merged 2 commits into from
Jan 11, 2024

Conversation

hdelan
Copy link
Contributor

@hdelan hdelan commented Dec 20, 2023

fabs was missing for Nvidia compilation

@hdelan hdelan requested a review from a team as a code owner December 20, 2023 14:37
@hdelan hdelan requested a review from dm-vodopyanov December 20, 2023 14:37
@jinz2014
Copy link
Contributor

I have a question. Are the functions specific to Nvidia compilation ? Thanks.

@hdelan
Copy link
Contributor Author

hdelan commented Dec 21, 2023

The symbol is mostly needed for NVidia compilation. Other triples might have fabs using a compiler intrinsic. But emission of compiler intrinsics is disabled for NVidia as most intrinsics do not have lowerings for NVPTX

@hdelan
Copy link
Contributor Author

hdelan commented Jan 5, 2024

Friendly ping @dm-vodopyanov

@hdelan
Copy link
Contributor Author

hdelan commented Jan 11, 2024

Friendly ping @intel/llvm-reviewers-runtime can I get a review on this please?

Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@steffenlarsen steffenlarsen merged commit f303cf3 into intel:sycl Jan 11, 2024
@hdelan
Copy link
Contributor Author

hdelan commented Jan 11, 2024

Thanks @steffenlarsen !

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