aclrtcDestroyProg
产品支持情况
- Ascend 950PR/Ascend 950DT:支持
- Atlas A3 训练系列产品/Atlas A3 推理系列产品:支持
- Atlas A2 训练系列产品/Atlas A2 推理系列产品:支持
- Atlas 200I/500 A2 推理产品:不支持
- Atlas 推理系列产品AI Core:不支持
- Atlas 推理系列产品Vector Core:不支持
- Atlas 训练系列产品:不支持
功能说明
销毁编译程序的实例。
函数原型
aclError aclrtcDestroyProg(aclrtcProg *prog)
参数说明
表1 接口参数说明
返回值说明
aclError为int类型变量,详细说明请参考RTC错误码。
约束说明
无
调用示例
aclrtcProg prog;
aclError result = aclrtcDestroyProg(&prog);