Merged
将capi类型转换文档中asc_set_ctrl改成asc_set_saturation_flag #7428
徐梦煊Add on 10 days ago
将capi类型转换文档中asc_set_ctrl改成asc_set_saturation_flag #7428
Merged
Merged fromxumengxuan/asc-devkitcast_sat_docintocann/asc-devkitmaster
Pull Request has been successfully merged by CANN-robot.
(Thank you for 徐梦煊's contribution.)atomgit-bot
10 days ago Comments:
10 days ago Comments:
变更摘要
本 PR 仅更新 docs/zh/api/SIMD-API/c_api/reg_compute/reg_convert 目录下的文档,不涉及 API 实现或行为变更。核心是把 Reg 矢量精度转换文档中“使用饱和/非饱和模式前需配置 ctrl 寄存器”的说明,统一改为“通过 asc_set_saturation_flag 接口配置”,并将相关链接与 YAML 依赖指向 asc_set_saturation_flag.md。
主要改动
- 约束说明措辞统一:22 篇精度转换 API 文档的「约束说明」中将“需要配置
ctrl寄存器”及对asc_set_ctrl的链接替换为“需要通过[asc_set_saturation_flag]接口配置,具体配置要求请参见该接口说明”,统一饱和模式的前置配置描述。 - YAML 依赖项切换:多篇文档 front matter 的
dependencies中,requires路径由docs/zh/api/SIMD-API/c_api/spr/asc_set_ctrl.md改为spr/asc_set_saturation_flag.md,对应condition同步改为“使用饱和或非饱和模式前需通过asc_set_saturation_flag接口配置”。 - 元数据描述同步:
asc_bfloat162half.md的description及rounding_mode.md的概念摘要中,“配置 ctrl 寄存器 / 通过 ctrl 寄存器开启饱和模式”的表述改为通过asc_set_saturation_flag接口配置,保持正文与元数据一致。 - 概念文档配置方法更新:
rounding_mode.md的「配置方法」小节改为指向asc_set_saturation_flag接口文档,作为饱和/非饱和模式配置的统一入口说明。 - 个别文档仅更新正文:如
asc_float2e4m3.md、asc_half2int4x2.md等未改动 front matter,仅将正文约束中ctrl寄存器配置说明与asc_set_ctrl链接替换为asc_set_saturation_flag说明。


Incorrect?
atomgit-bot
10 days ago Comments:
10 days ago Comments:
10 days ago Added label: cann-cla/yes
CANN-robot
10 days ago Comments:
10 days ago Comments:
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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| docs | ✅ munanhw, Lycheeeee, bianque (3/2) | ✅ munanhw (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
xumengxuan, thanks for your pull request. All authors of the commits have signed the CLA. 👍


10 days ago Set zengjuan,zhanghao_0689,suqwe,wulinyu,kong0808,dengjing_aoe,YeZZzzz1,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,XuebinYang,sjtulxh,bianque,houyuyang,Lycheeeee,YANXI_ZHAO,chentianyu19,shi_nanxiang,wuyang_hw,jiangxinyu3,munanhw,ai_xin,ascendhjh,hujiawen_kaven,wangxiaozhi,DragonBornHD84,louyuxuan,hyolee,chenma,yukangchen as approver
10 days ago Set zengjuan,zhanghao_0689,suqwe,wulinyu,kong0808,dengjing_aoe,YeZZzzz1,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,XuebinYang,sjtulxh,bianque,houyuyang,Lycheeeee,YANXI_ZHAO,chentianyu19,shi_nanxiang,wuyang_hw,jiangxinyu3,munanhw,ai_xin,ascendhjh,hujiawen_kaven,wangxiaozhi,DragonBornHD84,louyuxuan,hyolee,chenma,yukangchen as approver
10 days ago Set bianque,munanhw,ai_xin,ascendhjh as approver
Lycheeeee
10 days ago Comments:
10 days ago Comments:
/lgtm


bianque
10 days ago Comments:
10 days ago Comments:
/lgtm


10 days ago Added label: lgtm
徐梦煊
10 days ago Comments:
10 days ago Comments:
compile


10 days ago Pre merge succeeded (commit_id: ee9e3b02fc6a0e8f929c832e3dd513a0984c9ab6)
CANN-robot
10 days ago Comments:
10 days ago Comments:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


10 days ago Added label: ci-pipeline-running
10 days ago Removed label: ci-pipeline-running
10 days ago Added label: ci-pipeline-passed
munanhw
10 days ago Comments:
10 days ago Comments:
/approve


10 days ago Added label: approved
10 days ago Merged pull request
描述
更新 Reg 矢量精度转换文档中的饱和模式配置方式,将原有“使用饱和或非饱和模式前需配置 ctrl 寄存器”的说明,统一替换为通过
asc_set_saturation_flag接口配置,并链接到该接口文档以说明具体配置要求。同步更新相关文档的 YAML 依赖路径、依赖条件及摘要,确保正文与元数据保持一致。本次仅修改文档,不涉及 API 实现或行为变更。
关联的Issue
测试
文档更新
更新
docs/zh/api/SIMD-API/c_api/reg_compute/reg_convert目录下23篇文档,包括:rounding_mode.md中的饱和模式配置方法。类型标签