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

[BUG] Fix SPMM strided view #2124

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Conversation

lowener
Copy link
Contributor

@lowener lowener commented Jan 24, 2024

With the bug fix #2117 there can be an issue with z_tmp memory being uninitialized.
SPMM formula is Z = alpha . X * Y + beta . Z so when beta is not zero, Z is being read.
The proposed solution in this PR remove the need for an extra allocation and a copy from/to an external buffer, by creating a strided view of the original Z.

@lowener lowener added the bug Something isn't working label Jan 24, 2024
@lowener lowener requested a review from a team as a code owner January 24, 2024 13:22
@github-actions github-actions bot added the cpp label Jan 24, 2024
@cjnolet
Copy link
Member

cjnolet commented Jan 24, 2024

/merge

@rapids-bot rapids-bot bot merged commit 8743ac9 into rapidsai:branch-24.02 Jan 24, 2024
61 checks passed
@jakirkham jakirkham mentioned this pull request Jan 24, 2024
@lowener lowener deleted the 24.02-bug-spmm branch January 25, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review bug Something isn't working cpp non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

2 participants