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

Prevent pointer validation for zero-size arrays #4021

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

saipraveenb25
Copy link
Collaborator

@saipraveenb25 saipraveenb25 commented Apr 24, 2024

This is mostly so that user apps that use variable size tensors don't have to special-case the size-0 scenario.

Fixes #3696

This is mostly so that user apps that use variable size tensors don't have to special-case the size-0 scenario.
@csyonghe csyonghe merged commit 941961e into shader-slang:master Apr 24, 2024
16 checks passed
djohansson pushed a commit to djohansson/slang that referenced this pull request Sep 21, 2024
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.

Error when passing in 0 size empty in PyTorch Kernel
2 participants