Examples Using LU Factorization#
getrf_wo_pivot.cu
getrf_partial_pivot.cu
gesv_batched_wo_pivot.cu
gesv_batched_partial_pivot.cu
The getrf_wo_pivot
example demonstrates how to use cuSolverDx API to perform LU factorization without pivoting on a diagonal dominant M x N
matrix.
The results are compared with the reference values obtained with cuSolver host API
cusovlerDnXgetrf.
The getrf_partial_pivot
example demonstrates how to use cuSolverDx API to perform LU factorization with partial pivoting on a general M x N
matrix. The resulted factors as well as the pivot indices, ipiv
, 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 a batched general matrix.
The results are compared with the reference values obtained with cuSolver host API, cusovlerDnXgetrf
followed by cusovlerDnXgetrs.
The gesv_batched_partial_pivot
example solves a batched linear systems with multiple right hand sides after performing LU
factorization (with partial pivoting) of a batched general matrix.
The results are compared with the reference values obtained with cuSolver host API, cusovlerDnXgetrf
followed by cusovlerDnXgetrs.