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
function MatrixAlgebraKit.default_svd_algorithm(::Type{T}; kwargs...) where {TT <:BlasFloat, T <:StridedCuMatrix{TT}}
26
20
returnCUSOLVER_QRIteration(; kwargs...)
27
21
end
@@ -32,22 +26,17 @@ function MatrixAlgebraKit.default_eigh_algorithm(::Type{T}; kwargs...) where {TT
32
26
returnCUSOLVER_DivideAndConquer(; kwargs...)
33
27
end
34
28
35
-
36
29
# include for block sector support
37
-
function MatrixAlgebraKit.default_qr_algorithm(::Type{Base.ReshapedArray{T, 2, SubArray{T, 1, A, Tuple{UnitRange{Int}}, true}, Tuple{}}}; kwargs...) where {T <:BlasFloat, A <:CuVecOrMat{T}}
38
-
returnCUSOLVER_HouseholderQR(; kwargs...)
39
-
end
40
-
function MatrixAlgebraKit.default_lq_algorithm(::Type{Base.ReshapedArray{T, 2, SubArray{T, 1, A, Tuple{UnitRange{Int}}, true}, Tuple{}}}; kwargs...) where {T <:BlasFloat, A <:CuVecOrMat{T}}
41
-
qr_alg =CUSOLVER_HouseholderQR(; kwargs...)
42
-
returnLQViaTransposedQR(qr_alg)
43
-
end
44
-
function MatrixAlgebraKit.default_svd_algorithm(::Type{Base.ReshapedArray{T, 2, SubArray{T, 1, A, Tuple{UnitRange{Int}}, true}, Tuple{}}}; kwargs...) where {T <:BlasFloat, A <:CuVecOrMat{T}}
MatrixAlgebraKit.default_householder_driver(::BlockView{T, A}) where {T <:BlasFloat, A <:CuVecOrMat{T}} =CUSOLVER()
33
+
function MatrixAlgebraKit.default_svd_algorithm(::Type{BlockView{T, A}}; kwargs...) where {T <:BlasFloat, A <:CuVecOrMat{T}}
45
34
returnCUSOLVER_Jacobi(; kwargs...)
46
35
end
47
-
function MatrixAlgebraKit.default_eig_algorithm(::Type{Base.ReshapedArray{T, 2, SubArray{T, 1, A, Tuple{UnitRange{Int}}, true}, Tuple{}}}; kwargs...) where {T <:BlasFloat, A <:CuVecOrMat{T}}
36
+
function MatrixAlgebraKit.default_eig_algorithm(::Type{BlockView{T, A}}; kwargs...) where {T <:BlasFloat, A <:CuVecOrMat{T}}
48
37
returnCUSOLVER_Simple(; kwargs...)
49
38
end
50
-
function MatrixAlgebraKit.default_eigh_algorithm(::Type{Base.ReshapedArray{T, 2, SubArray{T, 1, A, Tuple{UnitRange{Int}}, true}, Tuple{}}}; kwargs...) where {T <:BlasFloat, A <:CuVecOrMat{T}}
39
+
function MatrixAlgebraKit.default_eigh_algorithm(::Type{BlockView{T, A}}; kwargs...) where {T <:BlasFloat, A <:CuVecOrMat{T}}
0 commit comments