aclblasCreateHandleForGemvEx
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Function Usage
Creates a handle to matrix-vector multiplication. The data types of the input and output data are set using arguments. After the handle is created, call aclopExecWithHandle to execute the operator.
A, x, and y support a limited combination of data types.
Prototype
1 2 3 4 5 6 7 8 |
aclError aclblasCreateHandleForGemvEx(aclTransType transA, int m, int n, aclDataType dataTypeA, aclDataType dataTypeX, aclDataType dataTypeY, aclComputeType type, aclopHandle **handle) |
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
transA |
Input |
Transpose flag of matrix A. For details about the type definition, see aclTransType. |
|
m |
Input |
Number of rows in matrix A (row-major first in data storing). |
|
n |
Input |
Number of columns in matrix A. |
|
dataTypeA |
Input |
Data type of matrix A. For details about the type definition, see aclDataType. |
|
dataTypeX |
Input |
Data type of vector x. For details about the type definition, see aclDataType. |
|
dataTypeY |
Input |
Data type of vector y. For details about the type definition, see aclDataType. |
|
type |
Input |
Computation precision type (high precision by default). For details about the type definition, see aclComputeType. |
|
handle |
Output |
Pointer to the operator execution handle's pointer. For details about the type definition, see aclopHandle. |
Returns
0 on success; else, failure. For details, see aclError.