Skip to content

[SYCL][HIP] add missing nearbyint and rint #16373

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 3 commits into from
Dec 30, 2024

Conversation

MoveCloudROY
Copy link
Contributor

@MoveCloudROY MoveCloudROY commented Dec 16, 2024

Failed to compile OneDNN using DPCPP on AMD with sycl because the code here that will run on the device actually calls nearbyintf here , but nearbyintf lacks a symbolic definition.
Same solution as #11177 but go straight to the __ocml symbols

@MoveCloudROY MoveCloudROY requested a review from a team as a code owner December 16, 2024 04:18
@KseniyaTikhomirova
Copy link
Contributor

I would leave review (and set my +1 after) to @jinge90 since libdevice is out of SYCL RT expertise

@bader
Copy link
Contributor

bader commented Dec 16, 2024

I would leave review (and set my +1 after) to @jinge90 since libdevice is out of SYCL RT expertise

@intel/llvm-reviewers-runtime, should we fix the CODEOWNERS file?

I would also review this change with the @MartinWehking, who added NVIDIA and AMD GPU support to libdevice.

@jinz2014
Copy link
Contributor

Thank you for the links. I have a question. Is there fp64 ?

https://github.com/intel/llvm/pull/11177/files

@MoveCloudROY
Copy link
Contributor Author

MoveCloudROY commented Dec 16, 2024

Thank you for the links. I have a question. Is there fp64 ?

sorry, it's added now.

@jinz2014
Copy link
Contributor

No problem. Thanks.

@MoveCloudROY
Copy link
Contributor Author

Please rerun the CI, :D

@aelovikov-intel
Copy link
Contributor

@intel/llvm-reviewers-runtime, should we fix the CODEOWNERS file?

Yes, but I don't know who the owners should be... @jinge90 , can you make a PR for that?

Copy link
Contributor

@aelovikov-intel aelovikov-intel left a comment

Choose a reason for hiding this comment

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

Formal approval based on @jinge90 's +1.

@againull againull merged commit b4d91c3 into intel:sycl Dec 30, 2024
14 checks passed
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.

7 participants