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

Fix uninitialized read when alpha != 1 and beta == 0 #150

Merged
merged 1 commit into from
May 5, 2024

Conversation

robertknight
Copy link
Owner

In the uncommon case where gemm is called with beta == 0 and an alpha value that is not 1, the kernel would load from the possibly-uninitialized output buffer.

Found via Miri.

In the uncommon case where gemm is called with `beta == 0` and an alpha value
that is not 1, the kernel would load from the possibly-uninitialized output
buffer.

Found via Miri.
@robertknight robertknight merged commit 3991abe into main May 5, 2024
2 checks passed
@robertknight robertknight deleted the fix-uninit-gemm-read branch May 5, 2024 09:28
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