aclrtGetFunctionAttribute
产品支持情况
产品 |
是否支持 |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
功能说明
根据核函数句柄获取核函数属性信息。
函数原型
aclError aclrtGetFunctionAttribute(aclrtFuncHandle funcHandle, aclrtFuncAttribute attrType, int64_t *attrValue)
参数说明
参数名 |
输入/输出 |
说明 |
|---|---|---|
funcHandle |
输入 |
核函数句柄。 |
attrType |
输入 |
指定属性。 |
attrValue |
输出 |
获取属性值。 |
返回值说明
返回0表示成功,返回其他值表示失败,请参见aclError。
父主题: Kernel加载与执行