Skip to content

[clang] Add support for SYCL templated free functions declared in namespaces #17936

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 58 commits into from
May 6, 2025

Conversation

dklochkov-emb
Copy link
Contributor

This PR adds support of templated free function declared both in namespace or not. Support of accessor types should be added in a separate PR because it requires effort not only on the frontend side.
Docs: https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_free_function_kernels.asciidoc

[SYCL] fix formatting

[SYCL] remove unnecessary space
[SYCL] include additional header in tests

[SYCL] do not iterate through arguments twice
@dklochkov-emb dklochkov-emb changed the title [SYCL] SYCL free function template support [clang] Add support for SYCL templated free functions declared in namespaces Apr 30, 2025
Copy link
Contributor

@Fznamznon Fznamznon left a comment

Choose a reason for hiding this comment

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

A couple of nits (sorry for not spotting earlier), otherwise LGTM.

Co-authored-by: Mariya Podchishchaeva <[email protected]>
@dklochkov-emb
Copy link
Contributor Author

@intel/llvm-gatekeepers please, merge it

@ldrumm
Copy link
Contributor

ldrumm commented May 5, 2025

Still waiting on @intel/llvm-reviewers-runtime

Also, @steffenlarsen's point was not addressed

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.

Remaining open is a Nit, so I'll let @dklochkov-emb decide what to do with it. Here's a sticky approval. 🚀

@dklochkov-emb
Copy link
Contributor Author

@ldrumm Done

@ldrumm ldrumm merged commit 8c62c24 into intel:sycl May 6, 2025
36 of 38 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.

6 participants