rocblas_strsv_batched Interface Reference

rocblas_strsv_batched Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_strsv_batched Interface Reference
hipfort_rocblas::rocblas_strsv_batched Interface Reference

BLAS Level 2 API. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_strsv_batched_ (handle, uplo, transa, diag, n, a, lda, x, incx, batch_count)
 

Detailed Description

BLAS Level 2 API.

The trsv_batched functions solve:

 A_i*x_i = b_i or
 A_i**T*x_i = b_i or
 A_i**H*x_i = b_i,

where (A_i, x_i, b_i) is the i-th instance of the batch. x_i and b_i are vectors and A_i is an n by n triangular matrix.

The vector x is overwritten on b.

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: op(A) = A.
  • rocblas_operation_transpose: op(A) = A^T.
  • rocblas_operation_conjugate_transpose: op(A) = A^H.
[in]diag- [rocblas_diagonal]
  • rocblas_diagonal_unit: A is assumed to be unit triangular.
  • 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]A- device pointer to an array of device pointers to the A_i matrices, of dimension ( lda, n ). If uplo == rocblas_fill_upper, the upper triangular part of the leading n-by-n array contains the matrix A_i. Otherwise, the lower triangular part of the leading n-by-n array contains the matrix A_i.
[in]lda- [rocblas_int] specifies the leading dimension of A_i. lda must be at least max( 1, n ).
[in,out]x- device pointer to an array of device pointers to the x_i vectors. On exit, each x_i is overwritten with the transformed vector x_i.
[in]incx- [rocblas_int] specifies the increment for the elements of x.
[in]batch_count- [rocblas_int] number of instances in the batch.

Member Function/Subroutine Documentation

◆ rocblas_strsv_batched_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_strsv_batched::rocblas_strsv_batched_ ( 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,
type(c_ptr), value  a,
integer(c_int), value  lda,
type(c_ptr), value  x,
integer(c_int), value  incx,
integer(c_int), value  batch_count 
)

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