Skip to content

Commit

Permalink
CuDSS synchronize added (#314)
Browse files Browse the repository at this point in the history
* cudss synchronize

* solve synchronize removed
  • Loading branch information
sshin23 committed Mar 27, 2024
1 parent b4d1935 commit de04e2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/MadNLPGPU/src/cudss.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ function MadNLP.factorize!(M::CUDSSSolver)
CUDSS.cudss_set(M.inner.matrix, SparseArrays.nonzeros(M.tril))
CUDSS.cudss("factorization", M.inner, M.x_gpu, M.b_gpu)

synchronize(CUDABackend())

return M
end

Expand Down

0 comments on commit de04e2a

Please sign in to comment.