hipblasscalbatchedex Interface Reference

hipblasscalbatchedex Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblasscalbatchedex Interface Reference
hipfort_hipblas::hipblasscalbatchedex Interface Reference

BLAS EX API. More...

Public Member Functions

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

Detailed Description

BLAS EX API.

The scalBatchedEx functions scale each element of each vector x_i with scalar alpha:

x_i := alpha * x_i

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 array of device pointers storing each vector x_i.
[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]batchCount- [int] number of instances in the batch.
[in]executionType[hipDataType] specifies the datatype of computation.

Member Function/Subroutine Documentation

◆ hipblasscalbatchedex_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasscalbatchedex::hipblasscalbatchedex_ ( 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_int), value  batchcount,
integer(kind(hip_r_32f)), value  executiontype 
)

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