Skip to content
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

[SYCL][NFC] Use SYCL 2020 aliases in builtins implementation #8185

Conversation

AlexeySachkov
Copy link
Contributor

No description provided.

@@ -16,26 +16,36 @@

namespace s = sycl;
namespace d = s::detail;
namespace cl = s::opencl;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note for reviewers: I'm specifically not switching the file to use types which are not tied to OpenCL, because current type aliases and built-ins definition in SYCL 2020 spec is a bit confusing. It is not entirely clear which exact aliases should be there and how should they be defined as it is not entirely clear which built-ins should support which data types.

See KhronosGroup/SYCL-Docs#353 and KhronosGroup/SYCL-Docs#335.

Therefore, I simply updating this file to stop using aliases which don't exist in SYCL 2020 spec anymore, fully preserving the actual types which were used in the file, thus making this a non-functional change.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe worth putting it into the code as a comment.

@AlexeySachkov AlexeySachkov temporarily deployed to aws February 2, 2023 17:01 — with GitHub Actions Inactive
@AlexeySachkov AlexeySachkov temporarily deployed to aws February 2, 2023 17:32 — with GitHub Actions Inactive
@bader bader merged commit 33c35fd into intel:sycl Feb 2, 2023
@AlexeySachkov AlexeySachkov deleted the private/asachkov/do-not-use-old-aliases-in-builtins branch March 29, 2023 12:24
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