Skip to content

[SYCL] Do not decompose non-trivial classes with pointers #6886

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 5 commits into from
Oct 3, 2022

Conversation

Fznamznon
Copy link
Contributor

Instead, the following code is being generated:

void ocl_kernel(__generated_type GT) {
  Kernel KernelObjClone { *(reinterpret_cast<UsersType*>(&GT)) };
}

@Fznamznon
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1288

Instead, the following code is being generated:
```
void ocl_kernel(__generated_type GT) {
  Kernel KernelObjClone { *(reinterpret_cast<UsersType*>(&GT)) };
}
```
@Fznamznon Fznamznon changed the title [TESTING][SYCL] Do not decompose non-trivial classes with pointers [SYCL] Do not decompose non-trivial classes with pointers Sep 28, 2022
@Fznamznon Fznamznon marked this pull request as ready for review September 28, 2022 11:03
@Fznamznon Fznamznon requested a review from a team as a code owner September 28, 2022 11:03
@bader
Copy link
Contributor

bader commented Sep 28, 2022

/summary:run

Copy link
Contributor

@premanandrao premanandrao left a comment

Choose a reason for hiding this comment

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

Changes look good to me.

@elizabethandrews
Copy link
Contributor

@intel/llvm-gatekeepers this PR is read for review and merge

@dbudanov-cmplr dbudanov-cmplr merged commit d55e9c2 into intel:sycl Oct 3, 2022
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