函数:create_handle_for_hgemv
产品支持情况
产品 |
是否支持 |
---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
函数原型
- C函数原型
1 2 3 4 5
aclError aclblasCreateHandleForHgemv(aclTransType transA, int m, int n, aclComputeType type, aclopHandle **handle)
- python函数
1
handle, ret = acl.blas.create_handle_for_hgemv(trans_a, m, n, type)
参数说明
参数名 |
说明 |
---|---|
trans_a |
int,矩阵A是否转置的标记。 |
m |
int,矩阵A的行数,存储矩阵乘数据时,行优先。 |
n |
int,矩阵A的列数。 |
type |
int,计算精度。 |
返回值说明
返回值 |
说明 |
---|---|
handle |
int,执行算子的handle数据的指针地址。 |
ret |
int,错误码,返回0表示成功,返回其它值表示失败。 |
父主题: CBLAS接口(blas)