aclblasS8gemv

Description

Computes matrix-vector multiplication: y = αAx + βy. The input data type is int8_t, and the output data type is int32_t. This API is asynchronous.

Prototype

aclError aclblasS8gemv(aclTransType transA,

int m,

int n,

const int32_t *alpha,

const int8_t *a,

int lda,

const int8_t *x,

int incx,

const int32_t *beta,

int32_t *y,

int incy,

aclComputeType type,

aclrtStream stream)

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.

alpha

Input

Pointer to scalar α used for executing the multiplication operation.

a

Input

Pointer to matrix A.

lda

Input

Leading dimension of matrix A. For row-major transpose, lda is the number of columns of matrix A. This parameter is reserved and can only be set to –1.

x

Input

Pointer to vector x.

incx

Input

Increment between successive x elements.

This parameter is reserved and can only be set to –1.

beta

Input

Pointer to scalar β used for executing the multiplication operation.

y

Input/Output

Pointer to vector y.

incy

Input

Increment between successive y elements.

This parameter is reserved and can only be set to –1.

type

Input

Computation precision type (high precision by default).

stream

Input

Stream where the operator is executed.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.

See Also

For the API call sequence, see Single-Operator Call Sequence.