Skip to content

allow struct kernel arguments to be passed as SPIR-V pointers - #1631

Open
bashbaug wants to merge 1 commit into
KhronosGroup:mainfrom
bashbaug:spirv-struct-argument
Open

bashbaug wants to merge 1 commit into
KhronosGroup:mainfrom
bashbaug:spirv-struct-argument

Conversation

@bashbaug

Copy link
Copy Markdown
Contributor

see internal issue 385

This PR updates the OpenCL SPIR-V environment specification to allow kernel arguments that are pointers to structures, not just kernel arguments that are structures. This matches the calling convention for kernels generated by Clang and the SPIR-V LLVM translator or the SPIR-V LLVM backend.

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.

1 participant