Skip to content

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 Fznamznon marked this pull request as ready for review September 26, 2024 14:48
@Fznamznon Fznamznon requested review from a team as code owners September 26, 2024 14:48
@Fznamznon Fznamznon requested a review from bso-intel September 26, 2024 14:48
@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