已关闭
[Bug-Report|缺陷反馈]: [AI 识别] 项目代码存在bug导致opkernel测试无法正常运行:test_inplace_index_add_with_sorted.cpp和test_ge_glu_grad_v2.cpp中定义了同名函数(GetShapesString、GetShapeSize),导致链接阶段出现'multiple definition'错误,测试套件无法完整执行 #2874
StoneChan_创建于 5月25日关闭于 5月27日
5月25日 添加了label:bug-report
5月25日 将 east_yang 设为负责人
5月25日 将 FelixTang7 设为负责人
5月26日 关闭了 issue
5月26日 issue状态由 进行中 改变为 待办的
5月26日 重新打开了 issue
5月26日 issue状态由 待办的 改变为 进行中
LSYlsy0214
5月26日 评论:
5月26日 评论:
test_ge_glu_grad_v2.cpp已将定义挪到匿名namespace中


LSYlsy0214
5月26日 评论:
5月26日 评论:
/close


CANN-robot
5月26日 评论:
5月26日 评论:
Notice
@LSYlsy0214 , you can't close an issue unless you are the author of it or a collaborator.


wang-xing001
5月27日 评论:
5月27日 评论:
/close


CANN-robot
5月27日 评论:
5月27日 评论:
Notice
@wang-xing001 , you can't close an issue unless you are the author of it or a collaborator.


StoneChan_
5月27日 评论:
5月27日 评论:
/close


5月27日 issue状态由 进行中 改变为 已完成
5月27日 关闭了 issue
5月27日 添加了label:Accepted
5月27日 添加了label:resolved
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
项目代码存在bug导致opkernel测试无法正常运行:test_inplace_index_add_with_sorted.cpp和test_ge_glu_grad_v2.cpp中定义了同名函数(GetShapesString、GetShapeSize),导致链接阶段出现'multiple definition'错误,测试套件无法完整执行
Environment / 环境信息 (Mandatory / 必填)
A3
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
bash build.sh -u --opkernel
Describe the expected behavior / 预期结果 (Mandatory / 必填)
正常执行通过
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
https://cogito.oss-compass.org/intelligent-analysis/community-experience?project=cann_ops_nn_20260522_2212&focusTaskId=test_unit&painId=cann_ops_nn_20260522_2212%23test_unit%231&autoOpenPain=1
Special notes for this issue/备注 (Optional / 选填)