Skip to content

[SYCL][NATIVECPU] Emit subhandler as LLVM IR #10282

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 75 commits into from
Jul 13, 2023

Conversation

PietroGhg
Copy link
Contributor

This PR allows the emit the Native CPU subhandler as LLVM-IR, instead of emitting its declaration as C++ code in the Native CPU integration header. This is a first step towards removing the Native CPU integration header, using clang-offload-wrapper and also supporting multiple SYCL targets alongside SYCL Native CPU, which we will implement in following PRs.

@PietroGhg PietroGhg requested review from a team as code owners July 10, 2023 14:54
@PietroGhg PietroGhg temporarily deployed to aws July 10, 2023 15:19 — with GitHub Actions Inactive
@PietroGhg PietroGhg temporarily deployed to aws July 10, 2023 15:57 — with GitHub Actions Inactive
@PietroGhg PietroGhg temporarily deployed to aws July 11, 2023 13:46 — with GitHub Actions Inactive
@PietroGhg PietroGhg temporarily deployed to aws July 11, 2023 14:44 — with GitHub Actions Inactive
@PietroGhg PietroGhg temporarily deployed to aws July 11, 2023 16:07 — with GitHub Actions Inactive
@PietroGhg PietroGhg temporarily deployed to aws July 11, 2023 17:01 — with GitHub Actions Inactive
Copy link
Contributor

@elizabethandrews elizabethandrews left a comment

Choose a reason for hiding this comment

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

FE changes LGTM other than a minor change to update comment

@PietroGhg PietroGhg temporarily deployed to aws July 12, 2023 07:11 — with GitHub Actions Inactive
@PietroGhg PietroGhg temporarily deployed to aws July 12, 2023 08:22 — with GitHub Actions Inactive
@PietroGhg PietroGhg temporarily deployed to aws July 13, 2023 09:22 — with GitHub Actions Inactive
@PietroGhg PietroGhg temporarily deployed to aws July 13, 2023 10:04 — with GitHub Actions Inactive
@PietroGhg
Copy link
Contributor Author

@intel/llvm-gatekeepers hello, I think that this PR is ready to be merged :)

@steffenlarsen steffenlarsen merged commit 5b501ee into intel:sycl Jul 13, 2023
@dm-vodopyanov
Copy link
Contributor

Failure in post-commit:

Failed Tests (1):
  SYCL :: check_device_code/native_cpu/native_cpu_subhandler.cpp

@PietroGhg could you please take a look asap?

@PietroGhg
Copy link
Contributor Author

Failure in post-commit:

Failed Tests (1):
  SYCL :: check_device_code/native_cpu/native_cpu_subhandler.cpp

@PietroGhg could you please take a look asap?

I think that the failure is due to the fact the IR printer is not printing out the basic block name, #10350 should fix it

bader pushed a commit that referenced this pull request Jul 13, 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.

5 participants