Examples Using LU Factorization#

  • geqrf_batched.cu

  • gels_batched.cu

The geqrf_batched example demonstrates how to use cuSolverDx API to compute the QR factorization on a batched M x N matrix. The results are compared with the reference values obtained with cuSolver host API cusolverDnXgeqrf.

The gels_batched example demonstrates how to use cuSolverDx API to solve a batched least squares problem. The results are compared with the reference values obtained with cuSolver host API, cuSolverDnXgeqrf, followed by cuSolverDnXormqr, and cuBlasXtrsm.