Creates a handle to matrix-vector multiplication. The data types of the input and output are aclFloat16. This API is synchronous.
After the handle is created, call aclopExecWithHandle to execute the operator.
aclError aclblasCreateHandleForHgemv(aclTransType transA,
int m,
int n,
aclComputeType type,
aclopHandle **handle)
Parameter |
Input/Output |
Description |
|---|---|---|
transA |
Input |
Transpose flag of matrix A. |
m |
Input |
Number of rows in matrix A (row-major first in data storing). |
n |
Input |
Number of columns in matrix A. |
type |
Input |
Computation precision type (high precision by default). |
handle |
Output |
Pointer to the pointer to the operator handle. |
0 on success; else, failure.