gtsv - 2023.2 English

Vitis Libraries

Release Date
2023.2 English
#include "LinearSolver/gtsv_pcr.hpp"
template <
    typename T,
    unsigned int NMAX,
    unsigned int NCU
int gtsv (
    unsigned int n,
    T* matDiagLow,
    T* matDiag,
    T* matDiagUp,
    T* rhs

Tri-diagonal linear solver. Compute solution to linear system with a tridiagonal matrix. Parallel Cyclic Reduction method.


T data type (support float and double)
NMAX matrix size
NCU number of compute units
matDiagLow lower diagonal of matrix
matDiag diagonal of matrix
matDiagUp upper diagonal of matrix
rhs right-hand side