Skip to content

Commit fb95a04

Browse files
araujomsjishnub
andauthored
Update src/matmul.jl
Co-authored-by: Jishnu Bhattacharya <[email protected]>
1 parent a82a03d commit fb95a04

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/matmul.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,10 +778,12 @@ Base.@constprop :aggressive function syrk_wrapper!(C::StridedMatrix{T}, tA::Abst
778778
stride(A, 1) == stride(C, 1) == 1 &&
779779
_fullstride2(A) && _fullstride2(C)) &&
780780
max(nA, mA) 4
781-
return copytri!(BLAS.syrk!('U', tA, alpha, A, beta, C), 'U')
781+
BLAS.syrk!('U', tA, alpha, A, beta, C)
782782
else
783-
return copytri!(generic_syrk!(C, A, false, tA_uc == 'N', alpha, beta), 'U')
783+
generic_syrk!(C, A, false, tA_uc == 'N', alpha, beta)
784784
end
785+
copytri!(C, 'U')
786+
return C
785787
end
786788
return gemm_wrapper!(C, tA, tAt, A, A, α, β)
787789
end

0 commit comments

Comments
 (0)