hipblasdotex Interface Reference#
hipfort_hipblas::hipblasdotex Interface Reference
BLAS EX API. More...
Public Member Functions | |
| integer(kind(hipblas_status_success)) function | hipblasdotex_ (handle, n, x, xtype, incx, y, ytype, incy, myresult, resulttype, executiontype) |
Detailed Description
BLAS EX API.
The dotEx functions perform the dot product of vectors x and y:
result = x * y;
The dotcEx functions perform the dot product of the conjugate of complex vector x and complex vector y:
result = conjugate (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 x and y. [in] 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 y. [in] y - device pointer storing vector y. [in] yType [hipDataType] specifies the datatype of vector y. [in] incy - [int] specifies the increment for the elements of y. [in,out] myResult device pointer or host pointer to store the dot product. Return value is 0.0 if n <= 0. [in] resultType [hipDataType] specifies the datatype of the result. [in] executionType [hipDataType] specifies the datatype of computation.
Member Function/Subroutine Documentation
◆ hipblasdotex_()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasdotex::hipblasdotex_ | ( | type(c_ptr), value | handle, |
| integer(c_int), value | n, | ||
| type(c_ptr), value | x, | ||
| integer(kind(hip_r_32f)), value | xtype, | ||
| integer(c_int), value | incx, | ||
| type(c_ptr), value | y, | ||
| integer(kind(hip_r_32f)), value | ytype, | ||
| integer(c_int), value | incy, | ||
| type(c_ptr), value | myresult, | ||
| integer(kind(hip_r_32f)), value | resulttype, | ||
| integer(kind(hip_r_32f)), value | executiontype | ||
| ) |
The documentation for this interface was generated from the following file: