Examples Using Cholesky Factorization#

  • simple_potrf.cu

  • potrf_runtime_ld.cu

  • posv_batched.cu

The simple_potrf example computes Cholesky factorization for a Hermitian positive-definite matrix using cuSolverDx, and compares the Cholesky factors with the ones generated using cuSolver host API cusolverDnXportf.

In some workflow the matrix A could have already resided in the shared memory, padded to avoid bank conflict, and updated by other operations. The potrf_runtime_ld.cu example shows how to compute Cholesky factorization using runtime leading dimensions, which overwrite values defined by LeadingDimension Operator. The results are compared with these computed using cuSolver host API cusolverDnXportf.

The posv_batched example is described in the Introduction Example.