hipblaschemv Interface Reference#
hipfort_hipblas::hipblaschemv Interface Reference
BLAS Level 2 API. More...
Public Member Functions | |
| integer(kind(hipblas_status_success)) function | hipblaschemv_ (handle, uplo, n, alpha, ap, lda, x, incx, beta, y, incy) |
| integer(kind(hipblas_status_success)) function | hipblaschemv_rank_0 (handle, uplo, n, alpha, ap, lda, x, incx, beta, y, incy) |
| integer(kind(hipblas_status_success)) function | hipblaschemv_rank_1 (handle, uplo, n, alpha, ap, lda, x, incx, beta, y, incy) |
| integer(kind(hipblas_status_success)) function | hipblaschemv_full_rank (handle, uplo, n, alpha, ap, 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.
- Supported precisions in rocBLAS :
candz. - Supported precisions in cuBLAS :
candz.
- Parameters
-
[in] handle - [hipblasHandle_t] handle to the hipBLAS library context queue. [in] uplo - [hipblasFillMode_t] - HIPBLAS_FILL_MODE_UPPER: the upper triangular part of the Hermitian matrix A is supplied.
- HIPBLAS_FILL_MODE_LOWER: the lower triangular part of the Hermitian matrix A is supplied.
[in] n - [int] the order of the matrix A. [in] alpha - device pointer or host pointer to scalar alpha. [in] AP - device pointer storing matrix A. Of dimension (lda, n). - if uplo == HIPBLAS_FILL_MODE_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 == HIPBLAS_FILL_MODE_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 - [int] specifies the leading dimension of A. Must be >= max(1, n). [in] x - device pointer storing vector x. [in] incx - [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 - [int] specifies the increment for the elements of y.
Member Function/Subroutine Documentation
◆ hipblaschemv_()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaschemv::hipblaschemv_ | ( | type(c_ptr), value | handle, |
| integer(kind(hipblas_fill_mode_upper)), value | uplo, | ||
| integer(c_int), value | n, | ||
| complex(c_float_complex) | alpha, | ||
| type(c_ptr), value | ap, | ||
| 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 | ||
| ) |
◆ hipblaschemv_full_rank()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaschemv::hipblaschemv_full_rank | ( | type(c_ptr) | handle, |
| integer(kind(hipblas_fill_mode_upper)) | uplo, | ||
| integer(c_int) | n, | ||
| complex(c_float_complex) | alpha, | ||
| complex(c_float_complex), dimension(:,:), target | ap, | ||
| 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 | ||
| ) |
◆ hipblaschemv_rank_0()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaschemv::hipblaschemv_rank_0 | ( | type(c_ptr) | handle, |
| integer(kind(hipblas_fill_mode_upper)) | uplo, | ||
| integer(c_int) | n, | ||
| complex(c_float_complex) | alpha, | ||
| complex(c_float_complex), target | ap, | ||
| 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 | ||
| ) |
◆ hipblaschemv_rank_1()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaschemv::hipblaschemv_rank_1 | ( | type(c_ptr) | handle, |
| integer(kind(hipblas_fill_mode_upper)) | uplo, | ||
| integer(c_int) | n, | ||
| complex(c_float_complex) | alpha, | ||
| complex(c_float_complex), dimension(:), target | ap, | ||
| 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: