| Files | Last commit | Last update |
|---|---|---|
feat(platform): Add L0A and L0B mx size Co-authored-by: 2501_92924845<niulinkai@huawei.com> # message auto-generated for no-merge-commit merge: !6741 merge code0928 into master feat(platform): Add L0A and L0B mx size Created-by: 2501_92924845 Commit-by: 2501_92924845 Merged-by: cann-robot Description: 本次变更在平台配置解析链路中新增了 L0A/L0B MX 缓冲区大小配置项 l0_a_mx_size 与 l0_b_mx_size。Platform::SetMemoryLimit 不再对 MEM_L0AMX 和 MEM_L0BMX 固定使用默认值 kDefaultL0mxSize,而是优先从 INI 的 AICoreSpec 段读取对应配置,读取失败时回退到默认值。同时为 Ascend950 系列平台配置文件补充了这两个配置项,并新增单元测试覆盖配置读取与内存上限设置行为。 主要改动 新增配置项常量与读取逻辑: 在 platform.cpp 中新增 l0aMxSize、l0bMxSize 常量,并在 SetMemoryLimit 中通过 parser.GetSizeVal 从 AICoreSpec 读取 l0_a_mx_size、l0_b_mx_size,分别用于 MEM_L0AMX 与 MEM_L0BMX 的内存上限。 默认值回退机制: 当 INI 中不存在对应配置时,l0aMxLimit/l0bMxLimit 回退为 kDefaultL0mxSize,保持原有行为兼容。 Ascend950 系列平台配置补充: 在 Ascend950DT_9572、Ascend950DT_9581、Ascend950DT_9581X、Ascend950DT_9582、Ascend950PR_9579、Ascend950PR_9589 等 INI 文件中新增 l0_a_mx_size=4096 与 l0_b_mx_size=4096。 新增单元测试: 在 test_device_platform_config.cpp 中新增 L0MxSizeOnlyConfiguredFor950Series 与 SetMemoryLimitL0MxSizeIniOrDefault,验证 Ascend950 系列读取 4096、非 MX 系列读取失败,以及 SetMemoryLimit 使用 INI 值或默认值 2048 的行为。 See merge request: cann/pypto!6741 | 2 months ago | |
refactor(build): Reuse the common compilation options from common cmake. Co-authored-by: Feiteng Zheng<zhengfeiteng1@h-partners.com> # message auto-generated for no-merge-commit merge: !5292 merge 20260728-intf-pub-2 into master refactor(build): Reuse the common compilation options from common cmake. Created-by: zhengfeiteng Commit-by: Feiteng Zheng Merged-by: cann-robot Description: 切换使用 cann/cmake 仓规定的 intf_pub。 - 通过CANN_GLIBCXX_USE_CXX11_ABI属性设置tile_fwk_calculator的_GLIBCXX_USE_CXX11_ABI Related Issue: #2650 See merge request: cann/pypto!5292 | 3 months ago | |
fix(pypto_pro): add Scaling and Bias capacity mappings Co-authored-by: fa<yangzf993@163.com> # message auto-generated for no-merge-commit merge: !6915 merge fixdocs into master fix(pypto_pro): add Scaling and Bias capacity mappings Created-by: fafafafafa Commit-by: fa Merged-by: cann-robot Description: PR 应该避免没有描述信息,描述信息的最重要的作用是描述修改意图,应该清晰明了。例如:标题中包含了 fix 标签,如果没有描述信息,就需要Review人员猜测PR具体修复了哪些内容,或者怀疑修改的必要性。如果PR和特定的Issue相关,可以单独包含一行 Related Issue: 放到描述信息最后。 下面是一个典型的PR描述信息: The origin issue template brings too many noise, it's not suitable for git message. eg: comments are not removed, labels are redundant as the PR tile already contains the tag. The guide gives a clear suggestion on how to write the PR body. Related Issue: #1234,#5678 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!6915 | 1 month ago |
| Files | Last commit | Last update |
|---|---|---|
| 2 months ago | ||
| 3 months ago | ||
| 1 month ago |