hipblasscalstridedbatchedex Interface Reference

hipblasscalstridedbatchedex Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblasscalstridedbatchedex Interface Reference
hipfort_hipblas::hipblasscalstridedbatchedex Interface Reference

BLAS EX API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblasscalstridedbatchedex_ (handle, n, alpha, alphatype, x, xtype, incx, stridex, batchcount, executiontype)
 

Detailed Description

BLAS EX API.

The scalStridedBatchedEx functions scale each element of vector x with scalar alpha over a set of strided batched vectors.

x := alpha * x

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.
[in]alpha- device pointer or host pointer for the scalar alpha.
[in]alphaType[hipDataType] specifies the datatype of alpha.
[in,out]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 take care to ensure that stridex is of an appropriate size. For a typical case, this means stridex >= n * incx.
[in]batchCount- [int] number of instances in the batch.
[in]executionType[hipDataType] specifies the datatype of computation.

Member Function/Subroutine Documentation

◆ hipblasscalstridedbatchedex_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasscalstridedbatchedex::hipblasscalstridedbatchedex_ ( 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,
integer(c_int), value  batchcount,
integer(kind(hip_r_32f)), value  executiontype 
)

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