Function: create_handle_for_hgemv
C Prototype |
aclError aclblasCreateHandleForHgemv(aclTransType transA, int m, int n, aclComputeType type, aclopHandle **handle) |
---|---|
Python Function |
handle, ret = acl.blas.create_handle_for_hgemv(trans_a, m, n, type) |
Function Usage |
Creates a handle to matrix-vector multiplication. The data type of the input and output data is aclFloat16. It is a synchronous interface. |
Input Description |
trans_a: int, whether matrix A is transposed. m: int, number of rows in matrix A (row-major first in data storing). n: int, number of columns in matrix A. type: int, calculation precision. |
Return Value |
handle: int, pointer to the pointer to the handle data of the operator executed. ret: int, error code.
|
Restrictions |
None |
Precautions |
None |