aclgrphProfDestroyConfig
函数功能
销毁profiling配置信息。
函数原型
Status aclgrphProfDestroyConfig(aclgrphProfConfig *profiler_config)
参数说明
参数名 |
输入/输出 |
描述 |
---|---|---|
profiler_config |
输入 |
profiling配置信息结构指针 |
返回值
参数名 |
类型 |
描述 |
---|---|---|
- |
Status |
SUCCESS: 成功 其他:失败 |
约束说明
- 与aclgrphProfCreateConfig接口配对使用,先调用aclgrphProfCreateConfig接口再调用aclgrphProfDestroyConfig接口。
- 需要销毁的profiling配置信息必须是由aclgrphProfCreateConfig创建。
- 销毁profiling配置信息失败,请检查配置信息参数是否合理。
芯片支持情况
Atlas 200/300/500 推理产品,不支持该接口。
Atlas 训练系列产品,支持该接口。
Atlas 推理系列产品,支持该接口。