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

Potential use-before-initialization in simpleIPC.cu #673

Open
eyalroz opened this issue Sep 5, 2024 · 0 comments
Open

Potential use-before-initialization in simpleIPC.cu #673

eyalroz opened this issue Sep 5, 2024 · 0 comments

Comments

@eyalroz
Copy link
Owner

eyalroz commented Sep 5, 2024

We have an array in simpleIPC.cu which, if no Unified Virtual Addressing devices are present, will not have its first element initialized before that element is accessed. But it's accessed without use unless we have at least two UVA devices, so a reordering can fix the problem. Silly NVIDIA coders.

@eyalroz eyalroz added the task label Sep 5, 2024
@eyalroz eyalroz self-assigned this Sep 5, 2024
eyalroz added a commit that referenced this issue Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant