hipblasstrmv Interface Reference

hipblasstrmv Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblasstrmv Interface Reference
hipfort_hipblas::hipblasstrmv Interface Reference

BLAS Level 2 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblasstrmv_ (handle, uplo, transa, diag, n, ap, lda, x, incx)
 
integer(kind(hipblas_status_success)) function hipblasstrmv_rank_0 (handle, uplo, transa, diag, n, ap, lda, x, incx)
 
integer(kind(hipblas_status_success)) function hipblasstrmv_rank_1 (handle, uplo, transa, diag, n, ap, lda, x, incx)
 
integer(kind(hipblas_status_success)) function hipblasstrmv_full_rank (handle, uplo, transa, diag, n, ap, lda, x, incx)
 

Detailed Description

BLAS Level 2 API.

The trmv functions perform one of the matrix-vector operations:

 x = A*x or x = A**T*x,

where x is an n -element vector and A is an n by n unit, or non-unit, upper or lower triangular matrix.

The vector x is overwritten.

  • 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]
[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 A. n >= 0.
[in]AP- device pointer storing matrix A, of dimension ( lda, n ).
[in]lda- [int] specifies the leading dimension of A. lda = max( 1, n ).
[in]x- device pointer storing vector x.
[in]incx- [int] specifies the increment for the elements of x.

Member Function/Subroutine Documentation

◆ hipblasstrmv_()

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

◆ hipblasstrmv_full_rank()

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

◆ hipblasstrmv_rank_0()

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

◆ hipblasstrmv_rank_1()

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

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