Skip to content

Fix CUDA matrix multiplication when the output aliases an input - #20

Open
alken1t15 wants to merge 1 commit into
SparseLinearAlgebra:masterfrom
alken1t15:fix/gpu-mxm-alias
Open

alken1t15 wants to merge 1 commit into
SparseLinearAlgebra:masterfrom
alken1t15:fix/gpu-mxm-alias

Conversation

@alken1t15

Copy link
Copy Markdown

When accumulation is disabled, CUDA matrix multiplication clears the output before reading the inputs. If the output is also an input, this destroys an operand. The fix computes the product in a temporary matrix before replacing the output.

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