hipblasstpsv Interface Reference

hipblasstpsv Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblasstpsv Interface Reference
hipfort_hipblas::hipblasstpsv Interface Reference

BLAS Level 2 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblasstpsv_ (handle, uplo, transa, diag, n, ap, x, incx)
 
integer(kind(hipblas_status_success)) function hipblasstpsv_rank_0 (handle, uplo, transa, diag, n, ap, x, incx)
 
integer(kind(hipblas_status_success)) function hipblasstpsv_rank_1 (handle, uplo, transa, diag, n, ap, x, incx)
 

Detailed Description

BLAS Level 2 API.

The tpsv 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 triangular matrix stored in the packed format.

The input vector b is overwritten by the output vector x.

  • Supported precisions in rocBLAS : s, d, c, and z.
  • Supported precisions in cuBLAS : s, d, c, and z.
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]
  • 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: A is assumed to be unit triangular (that is, the diagonal elements of A are not used in computations).
  • HIPBLAS_DIAG_NON_UNIT: A is not assumed to be unit triangular.
[in]n- [int] n specifies the number of rows of b. n >= 0.
[in]AP- device pointer storing the packed version of matrix A of dimension >= (n * (n + 1) / 2).
[in,out]x- device pointer storing vector b on input, overwritten by x on output.
[in]incx- [int] specifies the increment for the elements of x.

Member Function/Subroutine Documentation

◆ hipblasstpsv_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasstpsv::hipblasstpsv_ ( 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,
type(c_ptr), value  x,
integer(c_int), value  incx 
)

◆ hipblasstpsv_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasstpsv::hipblasstpsv_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,
real(c_float), target  x,
integer(c_int)  incx 
)

◆ hipblasstpsv_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasstpsv::hipblasstpsv_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,
real(c_float), dimension(:), target  x,
integer(c_int)  incx 
)

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