hipblasaxpystridedbatchedex Interface Reference

hipblasaxpystridedbatchedex Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblasaxpystridedbatchedex Interface Reference
hipfort_hipblas::hipblasaxpystridedbatchedex Interface Reference

BLAS EX API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblasaxpystridedbatchedex_ (handle, n, alpha, alphatype, x, xtype, incx, stridex, y, ytype, incy, stridey, batchcount, executiontype)
 

Detailed Description

BLAS EX API.

The axpyStridedBatchedEx functions compute a constant alpha multiplied by vector x, plus vector y, over a set of strided batched vectors.

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 each x_i and y_i.
[in]alpha- device pointer or host pointer to specify the scalar alpha.
[in]alphaType[hipDataType] specifies the datatype of alpha.
[in]x- device pointer to the first vector x_1.
[in]xType[hipDataType] specifies the datatype of each vector x_i.
[in]incx- [int] specifies the increment for the elements of each x_i.
[in]stridex- [hipblasStride] stride from the start of one vector (x_i) to the next one (x_i+1). There are no restrictions placed on stridex. However, the user should ensure that stridex is of an appropriate size. For a typical case, this means stridex >= n * incx.
[in,out]y- device pointer to the first vector y_1.
[in]yType[hipDataType] specifies the datatype of each vector y_i.
[in]incy- [int] specifies the increment for the elements of each y_i.
[in]stridey- [hipblasStride] stride from the start of one vector (y_i) to the next one (y_i+1). There are no restrictions placed on stridey. However, the user should ensure that stridey is of appropriate size. For a typical case, this means stridey >= n * incy.
[in]batchCount- [int] number of instances in the batch.
[in]executionType[hipDataType] specifies the datatype of computation.

Member Function/Subroutine Documentation

◆ hipblasaxpystridedbatchedex_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasaxpystridedbatchedex::hipblasaxpystridedbatchedex_ ( 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,
integer(c_int64_t), value  stridex,
type(c_ptr), value  y,
integer(kind(hip_r_32f)), value  ytype,
integer(c_int), value  incy,
integer(c_int64_t), value  stridey,
integer(c_int), value  batchcount,
integer(kind(hip_r_32f)), value  executiontype 
)

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