Skip to content

Commit f6bdcb3

Browse files
Update ext/LinearSolveCUDAExt.jl
1 parent 75d6546 commit f6bdcb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/LinearSolveCUDAExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function LinearSolve.init_cacheval(alg::CudaOffloadLUFactorization, A, b, u, Pl,
5353
T = eltype(A)
5454
noUnitT = typeof(zero(T))
5555
luT = LinearAlgebra.lutype(noUnitT)
56-
ipiv = Vector{Int32}(undef, 0)
56+
ipiv = CuVector{Int32}(undef, 0)
5757
info = zero(LinearAlgebra.BlasInt)
5858
return LU{luT}(CuMatrix{Float64}(undef, 0, 0), ipiv, info)
5959
end

0 commit comments

Comments
 (0)