Examples With Symmetric/Hermitian Eigenvalues Solver#

  • htev_batched.cu

The htev_batched example demonstrates how to use cuSolverDx API to compute the eigenvalues, and optionally the eigenvectors, of batched symmetric/Hermitian tridiagonal matrices. The results are verified by comparing \(A * V\) with \(V * \Lambda\), where \(V\) is the eigenvectors and \(\Lambda\) is the diagonal matrix of eigenvalues.

  • heev_batched.cu

The heev_batched example demonstrates how to use cuSolverDx API to compute the eigenvalues, and optionally the eigenvectors, of batched symmetric/Hermitian matrices. The results are compared with the reference eigenvalues obtained with cuSolver host API cusovlerDnXsyevBatched, and cusovlerDn<t>syevjBatched, as well as verifying the eigenvectors by comparing \(A * V\) with \(V * \Lambda\), where \(V\) is the eigenvectors and \(\Lambda\) is the diagonal matrix of eigenvalues.