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

[SSCP][llvm-to-spirv] Add support for pointer wrapping #930

Merged
merged 2 commits into from
Jan 24, 2023

Conversation

illuhad
Copy link
Collaborator

@illuhad illuhad commented Jan 24, 2023

Level Zero validates all pointers that are passed into the device. This causes errors if a host pointer is captured, even if it is not actually dereferenced inside the kernel.
This PR wraps pointer kernel arguments in a struct to hide from Level Zero that this is a pointer.

@illuhad illuhad merged commit a68b219 into develop Jan 24, 2023
@illuhad illuhad deleted the feature/sscp-pointer-wrapping branch January 24, 2023 23:52
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.

None yet

1 participant