Closed
[Documentation|文档反馈]: UB样例Case 1超限结果描述错误 #2027
liuyi424Add on 10 days agoClosed at 5 days ago
10 days ago Assign liuyi424 as responsible person
5 days ago Close issue
5 days ago changed custom state from 待办的 to 已完成
5 days ago Added label: resolved


Document Link(文档链接)
https://gitcode.com/cann/asc-devkit/blob/master/examples/05_simd_simt_hybrid/01_trouble_shooting/simd_simt_ub_usage_limit/README.md
https://gitcode.com/cann/asc-devkit/blob/master/examples/05_simd_simt_hybrid/01_trouble_shooting/simd_simt_ub_usage_limit/README_en.md
Issues Section(问题文档片段)
Existing Issues(存在的问题)
当前中英文 README 将 Case 1 在理论UB上限基础上多申请 4B 后的结果统一描述为“Kernel启动失败”。
实际行为应区分两种失败阶段:
SCENARIO_NUM=2(不调用VF):静态UB数组超过UB总量,编译阶段即失败,错误信息为ld.ldd: error: the size of ubuf static variables exceeds maximum size ...。SCENARIO_NUM=3~5(存在VF调用):编译仍可成功,但Kernel启动失败,错误信息为the sum of dynamic shared memory and kernel shared memory exceeds the maximum limit。验证环境:
关联修复 PR:#7417