hipblasstpsvstridedbatched Interface Reference

hipblasstpsvstridedbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblasstpsvstridedbatched Interface Reference
hipfort_hipblas::hipblasstpsvstridedbatched Interface Reference

BLAS Level 2 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblasstpsvstridedbatched_ (handle, uplo, transa, diag, n, ap, stridea, x, incx, stridex, batchcount)
 
integer(kind(hipblas_status_success)) function hipblasstpsvstridedbatched_rank_0 (handle, uplo, transa, diag, n, ap, stridea, x, incx, stridex, batchcount)
 
integer(kind(hipblas_status_success)) function hipblasstpsvstridedbatched_rank_1 (handle, uplo, transa, diag, n, ap, stridea, x, incx, stridex, batchcount)
 

Detailed Description

BLAS Level 2 API.

The tpsvStridedBatched 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 x_i and b_i are vectors and A_i is a triangular matrix stored in the packed format, for i in [1, batchCount].

The input vectors b_i are overwritten by the output vectors x_i.

  • 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: each A_i is an upper triangular matrix.
  • HIPBLAS_FILL_MODE_LOWER: each A_i is a lower triangular matrix.
[in]transA- [hipblasOperation_t]
  • HIPBLAS_OP_N: Solves A*x = b
  • HIPBLAS_OP_T: Solves A**T*x = b
  • HIPBLAS_OP_C: Solves A**H*x = b
[in]diag- [hipblasDiagType_t]
  • HIPBLAS_DIAG_UNIT: each A_i is assumed to be unit triangular (that is, the diagonal elements of each A_i are not used in computations).
  • HIPBLAS_DIAG_NON_UNIT: each A_i 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 pointing to the first packed matrix A_1 of dimension >= (n * (n + 1) / 2).
[in]strideA- [hipblasStride] stride from the beginning of one packed matrix (AP_i) to the next (AP_i+1).
[in,out]x- device pointer pointing to the first input vector b_1. Overwritten by each x_i on output.
[in]incx- [int] specifies the increment for the elements of each x_i.
[in]stridex- [hipblasStride] stride from the beginning of one vector (x_i) to the next (x_i+1).
[in]batchCount- [int] specifies the number of instances in the batch.

Member Function/Subroutine Documentation

◆ hipblasstpsvstridedbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasstpsvstridedbatched::hipblasstpsvstridedbatched_ ( 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_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 
)

◆ hipblasstpsvstridedbatched_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasstpsvstridedbatched::hipblasstpsvstridedbatched_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_int64_t)  stridea,
real(c_float), target  x,
integer(c_int)  incx,
integer(c_int64_t)  stridex,
integer(c_int)  batchcount 
)

◆ hipblasstpsvstridedbatched_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasstpsvstridedbatched::hipblasstpsvstridedbatched_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_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: