hipblasstrsvstridedbatched Interface Reference

hipblasstrsvstridedbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblasstrsvstridedbatched Interface Reference
hipfort_hipblas::hipblasstrsvstridedbatched Interface Reference

BLAS Level 2 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblasstrsvstridedbatched_ (handle, uplo, transa, diag, n, ap, lda, stridea, x, incx, stridex, batchcount)
 
integer(kind(hipblas_status_success)) function hipblasstrsvstridedbatched_rank_0 (handle, uplo, transa, diag, n, ap, lda, stridea, x, incx, stridex, batchcount)
 
integer(kind(hipblas_status_success)) function hipblasstrsvstridedbatched_rank_1 (handle, uplo, transa, diag, n, ap, lda, stridea, x, incx, stridex, batchcount)
 
integer(kind(hipblas_status_success)) function hipblasstrsvstridedbatched_full_rank (handle, uplo, transa, diag, n, ap, lda, stridea, x, incx, stridex, batchcount)
 

Detailed Description

BLAS Level 2 API.

The trsvStridedBatched functions solve:

 A_i*x_i = b_i or A_i**T*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, for i = 1, ..., batchCount.

The vector x is overwritten on b.

  • Supported precisions in rocBLAS : s, d, c, and z.
  • Supported precisions in cuBLAS : No support.
Parameters
[in]handle- [hipblasHandle_t] handle to the hipBLAS library context queue.
[in]uplo- [hipblasFillMode_t]
  • HIPBLAS_FILL_MODE_UPPER: A is an upper triangular matrix.
  • HIPBLAS_FILL_MODE_LOWER: A is a lower triangular matrix.
[in]transA- [hipblasOperation_t]
[in]diag- [hipblasDiagType_t]
  • HIPBLAS_DIAG_UNIT: A is assumed to be unit triangular.
  • HIPBLAS_DIAG_NON_UNIT: A is not assumed to be unit triangular.
[in]n- [int] n specifies the number of rows of each b_i. n >= 0.
[in]AP- device pointer to the first matrix (A_1) in the batch, of dimension ( lda, n ).
[in]strideA- [hipblasStride] stride from the start of one A_i matrix to the next A_(i + 1).
[in]lda- [int] specifies the leading dimension of each A_i. lda = max( 1, n ).
[in,out]x- device pointer to the first vector (x_1) in the batch.
[in]stridex- [hipblasStride] stride from the start of one x_i vector to the next x_(i + 1).
[in]incx- [int] specifies the increment for the elements of each x_i.
[in]batchCount- [int] number of instances in the batch.

Member Function/Subroutine Documentation

◆ hipblasstrsvstridedbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasstrsvstridedbatched::hipblasstrsvstridedbatched_ ( type(c_ptr), value  handle,
integer(kind(hipblas_fill_mode_upper)), value  uplo,
integer(kind(hipblas_op_n)), value  transa,
integer(kind(hipblas_diag_non_unit)), value  diag,
integer(c_int), value  n,
type(c_ptr), value  ap,
integer(c_int), value  lda,
integer(c_int64_t), value  stridea,
type(c_ptr), value  x,
integer(c_int), value  incx,
integer(c_int64_t), value  stridex,
integer(c_int), value  batchcount 
)

◆ hipblasstrsvstridedbatched_full_rank()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasstrsvstridedbatched::hipblasstrsvstridedbatched_full_rank ( type(c_ptr)  handle,
integer(kind(hipblas_fill_mode_upper))  uplo,
integer(kind(hipblas_op_n))  transa,
integer(kind(hipblas_diag_non_unit))  diag,
integer(c_int)  n,
real(c_float), dimension(:,:), target  ap,
integer(c_int)  lda,
integer(c_int64_t)  stridea,
real(c_float), dimension(:), target  x,
integer(c_int)  incx,
integer(c_int64_t)  stridex,
integer(c_int)  batchcount 
)

◆ hipblasstrsvstridedbatched_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasstrsvstridedbatched::hipblasstrsvstridedbatched_rank_0 ( type(c_ptr)  handle,
integer(kind(hipblas_fill_mode_upper))  uplo,
integer(kind(hipblas_op_n))  transa,
integer(kind(hipblas_diag_non_unit))  diag,
integer(c_int)  n,
real(c_float), target  ap,
integer(c_int)  lda,
integer(c_int64_t)  stridea,
real(c_float), target  x,
integer(c_int)  incx,
integer(c_int64_t)  stridex,
integer(c_int)  batchcount 
)

◆ hipblasstrsvstridedbatched_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasstrsvstridedbatched::hipblasstrsvstridedbatched_rank_1 ( type(c_ptr)  handle,
integer(kind(hipblas_fill_mode_upper))  uplo,
integer(kind(hipblas_op_n))  transa,
integer(kind(hipblas_diag_non_unit))  diag,
integer(c_int)  n,
real(c_float), dimension(:), target  ap,
integer(c_int)  lda,
integer(c_int64_t)  stridea,
real(c_float), dimension(:), target  x,
integer(c_int)  incx,
integer(c_int64_t)  stridex,
integer(c_int)  batchcount 
)

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