rocsolver_sgeblttrf_npvt_batched Interface Reference#
The GEBLTTRF_NPVT_BATCHED functions compute the LU factorization of a batch of block tridiagonal matrices without partial pivoting. More...
Public Member Functions | |
| integer(c_int) function | rocsolver_sgeblttrf_npvt_batched_ (handle, nb, nblocks, a, lda, b, ldb, c, ldc, myinfo, batch_count) |
Detailed Description
The GEBLTTRF_NPVT_BATCHED functions compute the LU factorization of a batch of block tridiagonal matrices without partial pivoting.
The LU factorization of a block tridiagonal matrix \(M_l\) in the batch
\[ M_l = \left[\begin{array}{ccccc} B_{l1} & C_{l1} & & & \\% A_{l1} & B_{l2} & C_{l2} & & \\% & \ddots & \ddots & \ddots & \\% & & A_{l(n-2)} & B_{l(n-1)} & C_{l(l-1)} \\% & & & A_{l(n-1)} & B_{ln} \end{array}\right] \]
with \(n = \) nblocks diagonal blocks of size nb, can be represented as
\[ M_l = \left[\begin{array}{cccc} E_{l1} & & & \\% A_{l1} & E_{l2} & & \\% & \ddots & \ddots & \\% & & A_{l(n-1)} & E_{ln} \end{array}\right] \left[\begin{array}{cccc} I & F_{l1} & & \\% & \ddots & \ddots & \\% & & I & F_{l(n-1)} \\% & & & I \end{array}\right] = L_l U_l \]
where the blocks \(E_{li}\) and \(F_{li}\) are general blocks of size nb. This function returns diagonal blocks \(E_{li}\) in factorized form, i.e. \(E_{li}=(L_{li}+I)U_{li}\) where \(L_{li}\) is strictly lower triangular and \(U_{li}\) is upper triangular.
- Parameters
-
[in] handle - rocblas_handle. [in] nb - rocblas_int. nb >= 0. The number of rows and columns of each block. [in] nblocks - rocblas_int. nblocks >= 0. The number of blocks along the diagonal of each matrix in the batch. [in] A - array of pointers to type. Each pointer points to an array on the GPU of dimension lda*nb*(nblocks-1). Contains the blocks A_{li}, arranged one after the other. [in] lda - rocblas_int. lda >= nb. Specifies the leading dimension of blocks A_{li}. [in,out] B - array of pointers to type. Each pointer points to an array on the GPU of dimension ldb*nb*nblocks. On entry, contains the blocks B_{li}, arranged one after the other. On exit, it is overwritten by L_{li} + U_{li}, where L_{li} and U_{li} are the factors of E_{li} as returned by GETRF_NPVT. [in] ldb - rocblas_int. ldb >= nb. Specifies the leading dimension of blocks B_{li}. [in,out] C - array of pointers to type. Each pointer points to an array on the GPU of dimension ldc*nb*(nblocks-1). On entry, contains the blocks C_{li}, arranged one after the other. On exit, it is overwritten by blocks F_{li}. [in] ldc - rocblas_int. ldc >= nb. Specifies the leading dimension of blocks C_{li}. [out] myInfo - pointer to rocblas_int. Array of batch_count integers on the GPU. If info[l] = 0, successful exit for factorization of l-th batch instance. If info[l] = i > 0, the l-th batch instance is singular. [in] batch_count - rocblas_int. batch_count >= 0. Number of matrices in the batch.
Member Function/Subroutine Documentation
◆ rocsolver_sgeblttrf_npvt_batched_()
| integer(c_int) function hipfort_rocsolver::rocsolver_sgeblttrf_npvt_batched::rocsolver_sgeblttrf_npvt_batched_ | ( | type(c_ptr), value | handle, |
| integer(c_int), value | nb, | ||
| integer(c_int), value | nblocks, | ||
| type(c_ptr), value | a, | ||
| integer(c_int), value | lda, | ||
| type(c_ptr), value | b, | ||
| integer(c_int), value | ldb, | ||
| type(c_ptr), value | c, | ||
| integer(c_int), value | ldc, | ||
| type(c_ptr), value | myinfo, | ||
| integer(c_int), value | batch_count | ||
| ) |
The documentation for this interface was generated from the following file: