TridiagonalMatrixSolver CUDA implementation of cyclic reduction method for solving tridiagonal matrices