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(kind(hipblas_status_success)) 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(kind(hipblas_status_success)) function hipfort_hipblas::hipblasscalex::hipblasscalex_ ( 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(kind(hip_r_32f)), value  executiontype 
)

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