rocblas_chemv Interface Reference

rocblas_chemv Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_chemv Interface Reference
hipfort_rocblas::rocblas_chemv Interface Reference

BLAS Level 2 API. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_chemv_ (handle, uplo, n, alpha, a, lda, x, incx, beta, y, incy)
 
integer(kind(rocblas_status_success)) function rocblas_chemv_rank_0 (handle, uplo, n, alpha, a, lda, x, incx, beta, y, incy)
 
integer(kind(rocblas_status_success)) function rocblas_chemv_rank_1 (handle, uplo, n, alpha, a, lda, x, incx, beta, y, incy)
 
integer(kind(rocblas_status_success)) function rocblas_chemv_full_rank (handle, uplo, n, alpha, a, lda, x, incx, beta, y, incy)
 

Detailed Description

BLAS Level 2 API.

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

y := alpha*A*x + beta*y

where alpha and beta are scalars, x and y are n -element vectors, and A is an n by n Hermitian matrix.

Parameters
[in]handle- [rocblas_handle] handle to the rocBLAS library context queue.
[in]uplo- [rocblas_fill]
  • rocblas_fill_upper: the upper triangular part of the Hermitian matrix A is supplied.
  • rocblas_fill_lower: the lower triangular part of the Hermitian matrix A is supplied.
[in]n- [rocblas_int] the order of the matrix A.
[in]alpha- device pointer or host pointer to scalar alpha.
[in]A- device pointer storing matrix A. Of dimension (lda, n).
if uplo == rocblas_fill_upper:
    The upper triangular part of A must contain
    the upper triangular part of a Hermitian matrix. The lower
    triangular part of A will not be referenced.

if uplo == rocblas_fill_lower:
    The lower triangular part of A must contain
    the lower triangular part of a Hermitian matrix. The upper
    triangular part of A will not be referenced.
    As a Hermitian matrix, the imaginary part of the main diagonal
    of A will not be referenced and is assumed to be == 0.
[in]lda- [rocblas_int] specifies the leading dimension of A. Must be >= max(1, n).
[in]x- device pointer storing vector x.
[in]incx- [rocblas_int] specifies the increment for the elements of x.
[in]beta- device pointer or host pointer to scalar beta.
[in,out]y- device pointer storing vector y.
[in]incy- [rocblas_int] specifies the increment for the elements of y.

Member Function/Subroutine Documentation

◆ rocblas_chemv_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_chemv::rocblas_chemv_ ( type(c_ptr), value  handle,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(c_int), value  n,
complex(c_float_complex)  alpha,
type(c_ptr), value  a,
integer(c_int), value  lda,
type(c_ptr), value  x,
integer(c_int), value  incx,
complex(c_float_complex)  beta,
type(c_ptr), value  y,
integer(c_int), value  incy 
)

◆ rocblas_chemv_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_chemv::rocblas_chemv_full_rank ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
complex(c_float_complex)  alpha,
complex(c_float_complex), dimension(:,:), target  a,
integer(c_int)  lda,
complex(c_float_complex), dimension(:), target  x,
integer(c_int)  incx,
complex(c_float_complex)  beta,
complex(c_float_complex), dimension(:), target  y,
integer(c_int)  incy 
)

◆ rocblas_chemv_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_chemv::rocblas_chemv_rank_0 ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
complex(c_float_complex)  alpha,
complex(c_float_complex), target  a,
integer(c_int)  lda,
complex(c_float_complex), target  x,
integer(c_int)  incx,
complex(c_float_complex)  beta,
complex(c_float_complex), target  y,
integer(c_int)  incy 
)

◆ rocblas_chemv_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_chemv::rocblas_chemv_rank_1 ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
complex(c_float_complex)  alpha,
complex(c_float_complex), dimension(:), target  a,
integer(c_int)  lda,
complex(c_float_complex), dimension(:), target  x,
integer(c_int)  incx,
complex(c_float_complex)  beta,
complex(c_float_complex), dimension(:), target  y,
integer(c_int)  incy 
)

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