Open
[Requirement|需求建议]: 补充 SIMT API 实测输入输出示例 #1856
ruoshuisixueAdd on Oct 9
Oct 9 Added label: requirement
Oct 9 Assign ruoshuisixue as responsible person
Rruoshuisixue
Oct 9 Change title to "[Requirement|需求建议]: 补充 SIMT API 实测输入输出示例", originally titled "[Experience Request|体验需求]: 补充 half_type API 实测输入输出示例".
Oct 9 Change title to "[Requirement|需求建议]: 补充 SIMT API 实测输入输出示例", originally titled "[Experience Request|体验需求]: 补充 half_type API 实测输入输出示例".
Oct 9 Modify description of issue
Oct 9 Modify description of issue
Oct 9 Associated pull request
Oct 9 Associated pull request
Oct 9 Associated pull request
29 days ago Associated pull request
17 days ago Associated pull request
9 days ago Associated pull request
Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
Background(背景信息)
现有文档包含功能说明、原型、参数说明、返回值和调用示例,但缺少真实运行得到的输入输出数据。用户在感知学习阶段只能通过语义描述和代码示例理解接口行为,难以直接确认:
inf、-inf、nan等特殊值的实际返回结果Origin(信息来源)
无
Benefit / Necessity (价值/作用)
每个接口文档都附带真实 NPU 运行结果,用户可以直接对照输入输出理解 API 行为。
特殊值、舍入边界、类型转换和 mask 输出都能通过示例直观展示,减少用户自行编写测试程序验证语义的成本。
接口统一补充输入输出块,覆盖真实运行场景,形成可追溯、可复核的文档样例。
示例数据均来自device验证数据
Design(设计方案)
处理
docs/zh/api/SIMT-API/下全部 API 文档,每个接口默认覆盖文档中的 SIMT 与 SIMD/SIMT hybrid 两个编程场景。.asc工程、CMake 进行上板验证