已关闭
[Bug-Report|缺陷反馈]: 算子代码中未实现deque导致整张卡挂起用不了 #1467
jxlang创建于  8月9日关闭于  8月21日
jxlang
8月9日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

使用ascend C编写算子,只进行enque操作,不进行deque操作;
算子编译部署后,调用测试用例,跑了4个用例后,第5个用例卡住;
杀掉进程后,再次运行正确实现后的代码(有deque实现),还是一直卡住,只有reboot才能解决

Environment / 环境信息 (Mandatory / 必填)

CANN:8.5.0
910B3

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

如上面所述

Describe the expected behavior / 预期结果 (Mandatory / 必填)

编译器自动检查enque/deque的配对情况,如果不配对触发报错

无

Special notes for this issue/备注 (Optional / 选填)

likedislike
Jjxlang
8月9日 修改了issue 的描述
Jjxlang
8月9日 修改了issue 的描述
chenyiyuan成员
8月10日 评论:

你好,首先该问题为硬件上寄存器残留引起的同步不匹配问题,如果不想reboot,可以强制等待18分钟,硬件会自动自行复位。
另外EnQue/DeQue配对为编程范式中要求,不配对使用会引起未定义行为,若需要检查,在8.5.0版本,建议先开启CPU模式进行校验。

likedislike
jxlang
8月10日 评论:

可以用 aclrtSynchronizeStream 接口设置超时时间吗

likedislike
ApeiriaNode_BookerApeiriaNode_Booker成员
8月11日 将 chenyiyuan 设为负责人
chenyiyuan成员
8月13日 评论:

可以尝试使用aclrtSetOpExecuteTimeOut控制超时时间

likedislike
Cchenyiyuan成员
8月21日 issue状态由 待办的 改变为 已完成
Cchenyiyuan成员
8月21日 关闭了 issue