@@ -46,7 +46,7 @@ for f in (:geqrf!, :ungqr!, :unmqr!)
4646 @eval $ f (:: ROCSOLVER , args... ) = YArocSOLVER.$ f (args... )
4747end
4848
49- MatrixAlgebraKit. supports_svd_full (:: ROCSOLVER , f:: Symbol ) = f in (:qr_iteration , :jacobi , :divide_and_conquer , :bisection )
49+ MatrixAlgebraKit. supports_svd_full (:: ROCSOLVER , f:: Symbol ) = f in (:qr_iteration , :jacobi , :divide_and_conquer )
5050
5151# rocSOLVER's `gesvd*_batched` functions take the batch as an array
5252# of device pointers, so a group of equally sized matrices
@@ -93,22 +93,6 @@ gesvdj_batched!(::ROCSOLVER, As::AbstractVector{<:StridedROCMatrix}, Ss::Strided
9393gesvdj_batched! (:: ROCSOLVER , As:: StridedROCArray{T, 3} , Ss:: StridedROCMatrix , Us:: StridedROCArray{T, 3} , Vᴴs:: StridedROCArray{T, 3} ; kwargs... ) where {T <: BlasFloat } =
9494 YArocSOLVER. gesvdj_strided_batched! (As, Ss, Us, Vᴴs; kwargs... )
9595
96- function gesvdx_batched! (:: ROCSOLVER , As:: AbstractVector{<:StridedROCMatrix} , Ss:: StridedROCMatrix , Us:: StridedROCArray{T, 3} , Vᴴs:: StridedROCArray{T, 3} ; kwargs... ) where {T <: BlasFloat }
97- YArocSOLVER. gesvdx_batched! (As, Ss, Us, Vᴴs; kwargs... )
98- _complete_svd_basis! (Us, Vᴴs, size (Ss, 1 ))
99- return Ss, Us, Vᴴs
100- end
101- function gesvdx_batched! (:: ROCSOLVER , As:: StridedROCArray{T, 3} , Ss:: StridedROCMatrix , Us:: StridedROCArray{T, 3} , Vᴴs:: StridedROCArray{T, 3} ; kwargs... ) where {T <: BlasFloat }
102- YArocSOLVER. gesvdx_strided_batched! (As, Ss, Us, Vᴴs; kwargs... )
103- _complete_svd_basis! (Us, Vᴴs, size (Ss, 1 ))
104- return Ss, Us, Vᴴs
105- end
106-
107- function gesvdx! (:: ROCSOLVER , A:: StridedROCMatrix , S:: StridedROCVector , U:: StridedROCMatrix , Vᴴ:: StridedROCMatrix ; kwargs... )
108- YArocSOLVER. gesvdx! (A, S, U, Vᴴ; kwargs... )
109- _complete_svd_basis! (U, Vᴴ, length (S))
110- return S, U, Vᴴ
111- end
11296gesdd! (:: ROCSOLVER , A:: StridedROCMatrix , S:: StridedROCVector , U:: StridedROCMatrix , Vᴴ:: StridedROCMatrix ; kwargs... ) =
11397 YArocSOLVER. gesdd! (A, S, U, Vᴴ; kwargs... )
11498
0 commit comments