hipblasaxpyex Interface Reference

hipblasaxpyex Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblasaxpyex Interface Reference
hipfort_hipblas::hipblasaxpyex Interface Reference

BLAS EX API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblasaxpyex_ (handle, n, alpha, alphatype, x, xtype, incx, y, ytype, incy, executiontype)
 

Detailed Description

BLAS EX API.

The axpyEx funtions compute a constant alpha multiplied by vector x, plus vector y:

y := alpha * x + y

The supported types are determined by the backend. See the rocBLAS or cuBLAS documentation.

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]alphaType[hipDataType] specifies the datatype of alpha.
[in]x- device pointer storing vector x.
[in]xType[hipDataType] specifies the datatype of vector x.
[in]incx- [int] specifies the increment for the elements of x.
[in,out]y- device pointer storing vector y.
[in]yType[hipDataType] specifies the datatype of vector y.
[in]incy- [int] specifies the increment for the elements of y.
[in]executionType[hipDataType] specifies the datatype of computation.

Member Function/Subroutine Documentation

◆ hipblasaxpyex_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasaxpyex::hipblasaxpyex_ ( type(c_ptr), value  handle,
integer(c_int), value  n,
type(c_ptr), value  alpha,
integer(kind(hip_r_32f)), value  alphatype,
type(c_ptr), value  x,
integer(kind(hip_r_32f)), value  xtype,
integer(c_int), value  incx,
type(c_ptr), value  y,
integer(kind(hip_r_32f)), value  ytype,
integer(c_int), value  incy,
integer(kind(hip_r_32f)), value  executiontype 
)

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