hipblashaxpy Interface Reference#
hipfort_hipblas::hipblashaxpy Interface Reference
BLAS Level 1 API. More...
Public Member Functions | |
| integer(kind(hipblas_status_success)) function | hipblashaxpy_ (handle, n, alpha, x, incx, y, incy) |
Detailed Description
BLAS Level 1 API.
The axpy functions compute a constant alpha multiplied by vector x plus vector y.
y := alpha * x + y
- Supported precisions in rocBLAS :
h,s,d,c, andz. - Supported precisions in cuBLAS :
s,d,c, andz.
- Parameters
-
[in] handle - [hipblasHandle_t] handle to the hipBLAS library context queue. [in] n - [int] the number of elements in x and y. [in] alpha - device pointer or host pointer to specify the scalar alpha. [in] x - device pointer storing vector x. [in] incx - [int] specifies the increment for the elements of x. [out] y - device pointer storing vector y. [in,out] incy - [int] specifies the increment for the elements of y.
Member Function/Subroutine Documentation
◆ hipblashaxpy_()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblashaxpy::hipblashaxpy_ | ( | type(c_ptr), value | handle, |
| integer(c_int), value | n, | ||
| type(c_ptr), value | alpha, | ||
| type(c_ptr), value | x, | ||
| integer(c_int), value | incx, | ||
| type(c_ptr), value | y, | ||
| integer(c_int), value | incy | ||
| ) |
The documentation for this interface was generated from the following file: