| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
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 个月前 | |
style(all): Apply additional clang-format corrections across codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4883 merge style-cpp into master style(all): Apply additional clang-format corrections across codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Apply additional clang-format corrections across codebase See merge request: cann/pypto!4883 | 4 个月前 | |
refactor(utils): Refactor file_utils.h Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !4130 merge refactor/file_utils1 into master refactor(utils): Refactor file_utils.h Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Refactor file_utils.h Related Issue: #1185 See merge request: cann/pypto!4130 | 5 个月前 | |
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 个月前 | |
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 个月前 | |
refactor(function): Decuple operation from tensormap Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !3418 merge pr_3407 into master refactor(function): Decuple operation from tensormap Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: 前端和pass取消对tensor map的依赖 See merge request: cann/pypto!3418 | 5 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 4 个月前 | ||
| 5 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 5 个月前 |