aclblasCreateHandleForS8gemv

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Description

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 aclopExecWithHandle to execute the operator.

Prototype

aclError aclblasCreateHandleForS8gemv(aclTransType transA,
int m,
int n,
aclComputeType type,
aclopHandle **handle)

Parameters

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.

Returns

0 on success; else, failure. For details, see aclError.