已关闭
[Requirement|需求建议]: matmul类算子废弃特性说明:使用到预废弃的接口时,在编译时和运行时打印告警信息提示该接口将要废弃,告警内容包含推荐或替换的接口 #923
chen-shuai创建于 2月9日关闭于 3月2日
chen-shuai
2月9日 评论:
2月9日 评论:
/assign


2月9日 将 chen-shuai 设为负责人
Cchen-shuai
2月11日 关联了pull request:[Requirement|需求建议]: matmul类算子废弃特性说明:使用到预废弃的接口时,在编译时和运行时打印告警信息提示该接口将要废弃,告警内容包含推荐或替换的接口
2月11日 关联了pull request:[Requirement|需求建议]: matmul类算子废弃特性说明:使用到预废弃的接口时,在编译时和运行时打印告警信息提示该接口将要废弃,告警内容包含推荐或替换的接口
2月11日 修改了issue 的描述
2月11日 修改了issue 的描述
2月24日 修改了issue 的描述
chen-shuai
2月26日 评论:
2月26日 评论:
已完成编码,正在测试中


3月2日 关闭了 issue
3月20日 添加了label:resolved
Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
Backgroud(背景信息)
在编译链接可执行程序和第一次运行时,编译器给废弃接口提示告警,告警内容包含推荐或替换的接口。
为废弃接口做准备,给用户更完整的接口信息,推荐用户使用更新的接口。
Origin(信息来源)
NA
Benefit / Necessity (价值/作用)
为废弃接口做准备,给用户更完整的接口信息,推荐用户使用更新的接口。
Design(设计方案)
单接口废弃(XX):
在接口声明的上方加上:
attribute((deprecated("XX is scheduled to be deprecated in December 2026, and will be replaced by the XX_new. We apologize for any inconvenience caused and appreciate your timely migration to the new interface.")))
int XX(int a,int b)
对于废弃接口内部,在第一次执行时需要加上对应的告警提示:
XX is scheduled to be deprecated in December 2026, and will be replaced by the XX_new. We apologize for any inconvenience caused and appreciate your timely migration to the new interface."