hipblasdspmv Interface Reference

hipblasdspmv Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblasdspmv Interface Reference
hipfort_hipblas::hipblasdspmv Interface Reference

BLAS Level 2 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblasdspmv_ (handle, uplo, n, alpha, AP, x, incx, beta, y, incy)
 
integer(kind(hipblas_status_success)) function hipblasdspmv_rank_0 (handle, uplo, n, alpha, AP, x, incx, beta, y, incy)
 
integer(kind(hipblas_status_success)) function hipblasdspmv_rank_1 (handle, uplo, n, alpha, AP, x, incx, beta, y, incy)
 

Detailed Description

BLAS Level 2 API.

spmv performs the matrix-vector operation:

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

where alpha and beta are scalars, x and y are n element vectors and A should contain an upper or lower triangular n by n packed symmetric matrix.

Parameters
[in]handle[hipblasHandle_t] handle to the hipblas library context queue.
[in]uplo[hipblasFillMode_t] specifies whether the upper 'HIPBLAS_FILL_MODE_UPPER' or lower 'HIPBLAS_FILL_MODE_LOWER' if HIPBLAS_FILL_MODE_UPPER, the lower part of A is not referenced if HIPBLAS_FILL_MODE_LOWER, the upper part of A is not referenced
[in]n[int]
[in]alphaspecifies the scalar alpha
[in]Apointer storing matrix A on the GPU
[in]xpointer storing vector x on the GPU
[in]incx[int] specifies the increment for the elements of x
[in]betaspecifies the scalar beta
[out]ypointer storing vector y on the GPU
[in]incy[int] specifies the increment for the elements of y

Member Function/Subroutine Documentation

◆ hipblasdspmv_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasdspmv::hipblasdspmv_ ( type(c_ptr), value  handle,
integer(kind(hipblas_fill_mode_upper)), value  uplo,
integer(c_int), value  n,
real(c_double)  alpha,
type(c_ptr), value  AP,
type(c_ptr), value  x,
integer(c_int), value  incx,
real(c_double)  beta,
type(c_ptr), value  y,
integer(c_int), value  incy 
)

◆ hipblasdspmv_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasdspmv::hipblasdspmv_rank_0 ( type(c_ptr)  handle,
integer(kind(hipblas_fill_mode_upper))  uplo,
integer(c_int)  n,
real(c_double)  alpha,
type(c_ptr)  AP,
real(c_double), target  x,
integer(c_int)  incx,
real(c_double)  beta,
real(c_double), target  y,
integer(c_int)  incy 
)

◆ hipblasdspmv_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasdspmv::hipblasdspmv_rank_1 ( type(c_ptr)  handle,
integer(kind(hipblas_fill_mode_upper))  uplo,
integer(c_int)  n,
real(c_double)  alpha,
type(c_ptr)  AP,
real(c_double), dimension(:), target  x,
integer(c_int)  incx,
real(c_double)  beta,
real(c_double), dimension(:), target  y,
integer(c_int)  incy 
)

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