Skip to content

Commit 52b3307

Browse files
Update ext/LinearSolveCUDAExt.jl
1 parent ce4671e commit 52b3307

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
@@ -50,7 +50,7 @@ end
5050
function LinearSolve.init_cacheval(alg::CudaOffloadLUFactorization, A, b, u, Pl, Pr,
5151
maxiters::Int, abstol, reltol, verbose::Bool,
5252
assumptions::OperatorAssumptions)
53-
lu(CUDA.CuArray(A))
53+
ArrayInterface.lu_instance(A)
5454
end
5555

5656
function SciMLBase.solve!(cache::LinearSolve.LinearCache, alg::CudaOffloadQRFactorization;

0 commit comments

Comments
 (0)