Skip to content

[SYCL][NATIVECPU] Emit LocalInvocationId free function on Native CPU #12810

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 7 commits into from
Mar 14, 2024

Conversation

PietroGhg
Copy link
Contributor

@PietroGhg PietroGhg commented Feb 23, 2024

Similarly to the CUDA and Hip backends, the Native CPU pass pipeline expects the work item builtins to be of the "free function" kind, this PR ensures that for code that goes through parallel_for_work_group.

This PR fixes the e2e/Basic/accessor/accessor.cpp test on Native CPU.

@PietroGhg
Copy link
Contributor Author

Hi @intel/dpcpp-tools-reviewers, can I get some feedback on this PR?

@PietroGhg
Copy link
Contributor Author

Hello @intel/llvm-gatekeepers, this looks ready to be merged, thank you

@steffenlarsen steffenlarsen merged commit cbffacd into intel:sycl Mar 14, 2024
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