hipblasscalex Interface Reference

hipblasscalex Interface Reference#

hipFORT API Reference: hipfort_hipblas::hipblasscalex Interface Reference
hipfort_hipblas::hipblasscalex Interface Reference

BLAS EX API. More...

Public Member Functions

integer(c_int) function hipblasscalex_ (handle, n, alpha, alphatype, x, xtype, incx, executiontype)
 

Detailed Description

BLAS EX API.

The scalEx functions scale each element of vector x with scalar alpha.

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 storing vector x.
[in]xType[hipDataType] specifies the datatype of vector x.
[in]incx- [int] specifies the increment for the elements of x.
[in]executionType[hipDataType] specifies the datatype of computation.

Member Function/Subroutine Documentation

◆ hipblasscalex_()

integer(c_int) function hipfort_hipblas::hipblasscalex::hipblasscalex_ ( type(c_ptr), value  handle,
integer(c_int), value  n,
type(c_ptr), value  alpha,
integer(c_int), value  alphatype,
type(c_ptr), value  x,
integer(c_int), value  xtype,
integer(c_int), value  incx,
integer(c_int), value  executiontype 
)

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