rocblas_stbsv Interface Reference

rocblas_stbsv Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_stbsv Interface Reference
hipfort_rocblas::rocblas_stbsv Interface Reference

BLAS Level 2 API. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_stbsv_ (handle, uplo, transa, diag, n, k, a, lda, x, incx)
 
integer(kind(rocblas_status_success)) function rocblas_stbsv_rank_0 (handle, uplo, transa, diag, n, k, a, lda, x, incx)
 
integer(kind(rocblas_status_success)) function rocblas_stbsv_rank_1 (handle, uplo, transa, diag, n, k, a, lda, x, incx)
 
integer(kind(rocblas_status_success)) function rocblas_stbsv_full_rank (handle, uplo, transa, diag, n, k, a, lda, x, incx)
 

Detailed Description

BLAS Level 2 API.

The tbsv functions solve:

 A*x = b or
 A**T*x = b or
 A**H*x = b

where x and b are vectors and A is a banded triangular matrix.

Parameters
[in]handle- [rocblas_handle] handle to the rocBLAS library context queue.
[in]uplo- [rocblas_fill]
  • rocblas_fill_upper: A is an upper triangular matrix.
  • rocblas_fill_lower: A is a lower triangular matrix.
[in]transA- [rocblas_operation]
  • rocblas_operation_none: Solves A*x = b
  • rocblas_operation_transpose: Solves A**T*x = b
  • rocblas_operation_conjugate_transpose: Solves A**H*x = b
[in]diag- [rocblas_diagonal]
  • rocblas_diagonal_unit: A is assumed to be unit triangular (the diagonal elements of A are not used in computations).
  • rocblas_diagonal_non_unit: A is not assumed to be unit triangular.
[in]n- [rocblas_int] n specifies the number of rows of b. n >= 0.
[in]k- [rocblas_int]
    if(uplo == rocblas_fill_upper)
        k specifies the number of super-diagonals of A.
    if(uplo == rocblas_fill_lower)
        k specifies the number of sub-diagonals of A.
    k >= 0.
[in]A- device pointer storing the matrix A in banded format.
[in]lda- [rocblas_int] specifies the leading dimension of A. lda >= (k + 1).
[in,out]x- device pointer storing input vector b. Overwritten by the output vector x.
[in]incx- [rocblas_int] specifies the increment for the elements of x.

Member Function/Subroutine Documentation

◆ rocblas_stbsv_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_stbsv::rocblas_stbsv_ ( type(c_ptr), value  handle,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(kind(rocblas_operation_none)), value  transa,
integer(kind(rocblas_diagonal_non_unit)), value  diag,
integer(c_int), value  n,
integer(c_int), value  k,
type(c_ptr), value  a,
integer(c_int), value  lda,
type(c_ptr), value  x,
integer(c_int), value  incx 
)

◆ rocblas_stbsv_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_stbsv::rocblas_stbsv_full_rank ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(kind(rocblas_operation_none))  transa,
integer(kind(rocblas_diagonal_non_unit))  diag,
integer(c_int)  n,
integer(c_int)  k,
real(c_float), dimension(:,:), target  a,
integer(c_int)  lda,
real(c_float), dimension(:), target  x,
integer(c_int)  incx 
)

◆ rocblas_stbsv_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_stbsv::rocblas_stbsv_rank_0 ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(kind(rocblas_operation_none))  transa,
integer(kind(rocblas_diagonal_non_unit))  diag,
integer(c_int)  n,
integer(c_int)  k,
real(c_float), target  a,
integer(c_int)  lda,
real(c_float), target  x,
integer(c_int)  incx 
)

◆ rocblas_stbsv_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_stbsv::rocblas_stbsv_rank_1 ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(kind(rocblas_operation_none))  transa,
integer(kind(rocblas_diagonal_non_unit))  diag,
integer(c_int)  n,
integer(c_int)  k,
real(c_float), dimension(:), target  a,
integer(c_int)  lda,
real(c_float), dimension(:), target  x,
integer(c_int)  incx 
)

The documentation for this interface was generated from the following file: