You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/mkl/interfaces.jl
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ function LinearAlgebra.generic_matvecmul!(C::oneVector{T}, tA::AbstractChar, A::
7
7
sparse_gemv!(tA, _add.alpha, A, B, _add.beta, C)
8
8
end
9
9
10
-
function LinearAlgebra.generic_matvecmul!(C::oneVector{T}, tA::AbstractChar, A::oneSparseMatrixCSC{T}, B::oneVector{T}, _add::MulAddMul) where T <:BlasReal
10
+
function LinearAlgebra.generic_matvecmul!(C::oneVector{T}, tA::AbstractChar, A::oneSparseMatrixCSC{T}, B::oneVector{T}, _add::MulAddMul) where{T <:BlasReal}
11
11
tA = tA in ('S', 's', 'H', 'h') ?'T': flip_trans(tA)
12
-
sparse_gemv!(tA, _add.alpha, A, B, _add.beta, C)
12
+
returnsparse_gemv!(tA, _add.alpha, A, B, _add.beta, C)
13
13
end
14
14
15
15
function LinearAlgebra.generic_matmatmul!(C::oneMatrix{T}, tA, tB, A::oneSparseMatrixCSR{T}, B::oneMatrix{T}, _add::MulAddMul) where T <:BlasFloat
@@ -18,10 +18,10 @@ function LinearAlgebra.generic_matmatmul!(C::oneMatrix{T}, tA, tB, A::oneSparseM
18
18
sparse_gemm!(tA, tB, _add.alpha, A, B, _add.beta, C)
19
19
end
20
20
21
-
function LinearAlgebra.generic_matmatmul!(C::oneMatrix{T}, tA, tB, A::oneSparseMatrixCSC{T}, B::oneMatrix{T}, _add::MulAddMul) where T <:BlasReal
21
+
function LinearAlgebra.generic_matmatmul!(C::oneMatrix{T}, tA, tB, A::oneSparseMatrixCSC{T}, B::oneMatrix{T}, _add::MulAddMul) where{T <:BlasReal}
22
22
tA = tA in ('S', 's', 'H', 'h') ?'T': flip_trans(tA)
23
23
tB = tB in ('S', 's', 'H', 'h') ?'N': tB
24
-
sparse_gemm!(tA, tB, _add.alpha, A, B, _add.beta, C)
24
+
returnsparse_gemm!(tA, tB, _add.alpha, A, B, _add.beta, C)
25
25
end
26
26
27
27
function LinearAlgebra.generic_trimatdiv!(C::oneVector{T}, uploc, isunitc, tfun::Function, A::oneSparseMatrixCSR{T}, B::oneVector{T}) where T <:BlasFloat
0 commit comments