Skip to content

Commit b8ef3e4

Browse files
fix
1 parent 72bb031 commit b8ef3e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/LinearSolveCUDAExt.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ function SciMLBase.solve!(cache::LinearSolve.LinearCache, alg::CudaOffloadFactor
1313
cache.isfresh = false
1414
end
1515
y = Array(ldiv!(CUDA.CuArray(cache.u), cache.cacheval, CUDA.CuArray(cache.b)))
16+
cache.u .= y
1617
SciMLBase.build_linear_solution(alg, y, nothing, cache)
1718
end
1819

0 commit comments

Comments
 (0)