Function: create_handle_for_s8gemv
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Creates a handle to matrix-vector multiplication. The input data type is int8_t, and the output data type is int32_t.
After the handle is created, call acl.op.execute_with_handle to execute the operator.
Prototype
- C Prototype
1 2 3 4 5
aclError aclblasCreateHandleForS8gemv(aclTransType transA, int m, int n, aclComputeType type, aclopHandle **handle)
- Python Function
1handle, ret = acl.blas.create_handle_for_s8gemv(trans_a, m, n, type)
Parameter Description
Parameter |
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, computation precision. |
Return Value Description
Return Value |
Description |
|---|---|
handle |
Int, pointer address of the handle data of the operator to be executed. |
ret |
Int, error code: 0 on success; else, failure. |