Skip to content
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

[SYCL] Add testing for arrays as free function kernel parameters #15411

Merged
merged 5 commits into from
Oct 4, 2024

Conversation

Fznamznon
Copy link
Contributor

@Fznamznon Fznamznon commented Sep 17, 2024

Arrays cannot be passed by value as function parameters, so they won’t be supported as free function parameters. To pass an array the simplest way is to wrap it in a struct and pass the struct. This PR adds tests for the case

@Fznamznon
Copy link
Contributor Author

@intel/dpcpp-cfe-reviewers , could you please take a look?

@Fznamznon
Copy link
Contributor Author

@intel/llvm-gatekeepers , could you please merge? This is ready.

@sommerlukas sommerlukas merged commit 4af0c1b into intel:sycl Oct 4, 2024
12 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.

5 participants