Skip to content

Commit 4890c2e

Browse files
tam724kshyatt
authored andcommitted
fix matmatmul
1 parent aab3763 commit 4890c2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cublas/linalg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ function LinearAlgebra.generic_matmatmul!(C::StridedCuVecOrMat, tA, tB, A::Strid
362362
if size(C) != (mA, nB)
363363
throw(DimensionMismatch("C has dimensions $(size(C)), should have ($mA,$nB)"))
364364
end
365-
return LinearAlgebra.rmul!(C, 0)
365+
return LinearAlgebra.rmul!(C, beta)
366366
end
367367

368368
if all(in(('N', 'T', 'C')), (tA, tB))

0 commit comments

Comments
 (0)