Skip to content

[SYCL][NATIVECPU] Add SPIR-V work-group/item builtins on Windows #11158

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 9 commits into from
Sep 14, 2023

Conversation

uwedolinsky
Copy link
Contributor

  1. Enabling translation of calls to SpirV workgroup and workitem functions into calls to NativeCPU builtins on Windows.
  2. Enabling NativeCPU test previously unsupported on Windows.
  3. BuiltinMap now uses StringRef making the initialization static.

@uwedolinsky uwedolinsky requested a review from a team as a code owner September 12, 2023 16:55
Copy link
Contributor

@PietroGhg PietroGhg left a comment

Choose a reason for hiding this comment

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

LGTM, thank you

@uwedolinsky uwedolinsky changed the title [SYCLNATIVECPU] Spirv work-group/item builtins on Windows [SYCL][NATIVECPU] Spirv work-group/item builtins on Windows Sep 13, 2023
@uwedolinsky
Copy link
Contributor Author

Hello @intel/llvm-gatekeepers , we think this PR could be merged. Thank you!

Copy link
Contributor

@dm-vodopyanov dm-vodopyanov left a comment

Choose a reason for hiding this comment

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

Permissions of llvm/lib/SYCLLowerIR/PrepareSYCLNativeCPU.cpp changed from 644 to 755, please fix.

@dm-vodopyanov dm-vodopyanov changed the title [SYCL][NATIVECPU] Spirv work-group/item builtins on Windows [SYCL][NATIVECPU] Add SPIR-V work-group/item builtins on Windows Sep 13, 2023
@uwedolinsky
Copy link
Contributor Author

Permissions of llvm/lib/SYCLLowerIR/PrepareSYCLNativeCPU.cpp changed from 644 to 755, please fix.

Thank you for spotting this. I've changed it back to 644

@dm-vodopyanov dm-vodopyanov merged commit 60633fe into intel:sycl Sep 14, 2023
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