rocblas_haxpy Interface Reference

rocblas_haxpy Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_haxpy Interface Reference
hipfort_rocblas::rocblas_haxpy Interface Reference

BLAS Level 1 API. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_haxpy_ (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
Parameters
[in]handle- [rocblas_handle] handle to the rocBLAS library context queue.
[in]n- [rocblas_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- [rocblas_int] specifies the increment for the elements of x.
[out]y- device pointer storing vector y.
[in,out]incy- [rocblas_int] specifies the increment for the elements of y.

Member Function/Subroutine Documentation

◆ rocblas_haxpy_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_haxpy::rocblas_haxpy_ ( type(c_ptr), value  handle,
integer(c_int), value  n,
integer(c_short)  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: