NVIDIA / CUDALibrarySamples

CUDA Library Samples
Other
1.52k stars 318 forks source link

cuSolverSp, how to solve sparse linear system with multiple right-hand-sides using Cholesky factorization #68

Open Chenw831X opened 2 years ago

Chenw831X commented 2 years ago

Hi, I am trying to solve a sparse linear system with multiple right-hand-sides (RHS) using sparse Cholesky factorization, and my sparse matrix is symmetric positive defined. image I turn to cuSparse and cuSolver, and find that:

Thanks for your help!

antonande commented 2 months ago

@Chenw831X please try cudss (cuda direct sparse solver). It supports multiple rhs: Example: https://github.com/NVIDIA/CUDALibrarySamples/blob/master/cuDSS/simple/simple.cpp Docs: https://docs.nvidia.com/cuda/cudss/index.html