已合并
update error msg process #982
胡碧霞创建于 1月24日
update error msg process #982
已合并
胡碧霞创建于 1月24日
胡碧霞成员
1月24日

描述

当前aclnn样例执行 只有样例中CHECK_RET中打印的日志,仅包含错误码,无法获取具体错误信息

关联的Issue

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 胡碧霞 的贡献)
CANN-robot
CANN-robot成员
1月24日 评论:

Thanks for your pull-request.

The full list of commands accepted by me can be found at here.

You can get sig-info at here

likedislike
CANN-robot
CANN-robot成员
1月24日 评论:

以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入

Module List Reviewers Committers
docs N/A chenqi317, liubo75, crystalhu, zhou-qilong, fanqirui
likedislike
CANN-robotCANN-robot成员
1月24日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
1月24日 评论:

🔵 source code change are detected, tasks labels is removed in this pull request!

likedislike
CANN-robot
CANN-robot成员
1月24日 评论:

问题/功能描述

本次PR旨在增强用户在使用算子API(特别是aclnnAddmmGetWorkspaceSize)时的调试能力。主要解决了当API调用失败时,用户无法获取具体错误原因的问题,通过补充文档帮助用户快速定位和解决参数错误等常见问题。

修改方案描述

在“编译与运行样例”文档中新增了关于错误处理的说明和示例代码。具体包括:指导用户在API调用失败时使用aclGetRecentErrMsg接口获取详细错误信息,并提供了一个因空指针参数导致aclnnAddmmGetWorkspaceSize调用失败的代码示例,展示了如何集成错误信息打印逻辑,便于用户对照排查。

likedislike
此处折叠了62条消息 查看更多
CANN-robot
CANN-robot成员
1月27日 评论:
检查项 状态 详情
接口管理
通过
likedislike
chenqi317成员
1月27日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
1月27日 添加了label:lgtm
CANN-robot
CANN-robot成员
1月27日 评论:

Review Guide

This Pull-Request Passes Review.
Committers who wrote a comment of /approve are: chenqi317, liubo75.
Reviewers who wrote a comment of /lgtm are: chenqi317, liubo75, chaotang233.

likedislike
CANN-robotCANN-robot成员
1月27日 合入了pull request