Examples Using LU Factorization#

  • getrf_wo_pivot.cu

  • gesv_batched_wo_pivot.cu

The getrf_wo_pivot example demonstrates how to use cuSolverDx API to perform LU factorization without pivoting on a general M x N matrix. The results are compared with the reference values obtained with cuSolver host API cusovlerDnXgetrf.

The gesv_batched_wo_pivot example solves a batched linear systems with multiple right hand sides after performing LU factorization (without pivoting) of the batched general matrix A. The results are compared with the reference values obtained with cuSolver host API, cusovlerDnXgetrf followed by cusovlerDnXgetrs.