| Files | Last commit | Last update |
|---|---|---|
feat(indexing): Support A5 SIMT gather and index put Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !5404 merge feat/a5-simt-mixed into master feat(indexing): Support A5 SIMT gather and index put Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: gather indexput 支持的simt 实现,在离散场景下提升性能 当 Gather 的 source 位于 GM、indices 位于 UB 时,A5 Codegen 会选择 SIMT MGATHER 实现: 1. 使用 SIMD 批量计算 Gather 的元素偏移。 2. 使用 SIMT MGATHER 根据偏移直接从 GM source 读取数据。 3. source 位于 UB 时继续使用原有实现。 4. int64 indices 暂不使用 SIMT,回退到原有 Scalar 实现。 同时补充了 SIMT Kernel 的端到端识别与下发机制: 1. Pass 识别需要 SIMT 的 Gather,并设置 requiresSimt 属性。 2. 将 requiresSimt 信息传递到 Device Program 和编译流程。 3. 为包含 SIMT 的 A5 Kernel 生成相应的 ELF metadata。 4. Runtime 根据 Kernel 是否包含 SIMT,选择对应的 UB 配置。 5. SIMT Kernel 配置 216 KB 动态 UB,并为 DCache 预留 32 KB。 6. 纯 SIMD Kernel 保持原有 Runtime 下发方式和 UB 配置。 此外,完善了 GM GatherElement 在内存类型推导、动态参数注册、动态 valid shape 处理和 OoO 调度中的支持。 Related Issue: #3162 ``` 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!5404 | 2 months ago | |
perf(machine): Host ctrl-flow / stitch hot-path opts for 9.2.0 Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> Co-authored-by: songyangyang18<songyangyang18@huawei.com> # message auto-generated for no-merge-commit merge: !7305 merge optimize/ctrlflow-host-perf-920-v2 into 9.2.0 perf(machine): Host ctrl-flow / stitch hot-path opts for 9.2.0 Created-by: LordOfMysteries Commit-by: LordOfMysteries;songyangyang18 Merged-by: cann-robot Description: ## Summary 将 master 上已落地的三笔 host ctrl-flow / stitch 热路径优化合入 9.2.0: 1. **#7244** fix(machine): Compile out host DEV_VERBOSE_ when ENABLE_COMPILE_VERBOSE_LOG=0 host 侧 DEV_VERBOSE_* 与 device 对齐,用 DEV_IF_VERBOSE_LOG 编译期剔除,避免 CF 录制时假热。 2. **perf(machine): Skip unused ctrl-flow cache payload memset** CreateHostCtrlFlowCache 不再整页 memset ~100MB;只清元数据前缀,payload 在 AllocateCache 按块清零。 3. **perf(machine): Gate host stitch verify/dump behind VERIFY mode** 默认跳过 CheckStitch / topo dump;仅 runtime_debug_mode=VERIFY 时开启。对外门控直接使用 topo_dump::DumpEnabled()。 ## Test plan - [ ] 相关 machine UT / emulation launcher 编译通过 - [ ] 默认路径:ctrl-flow cache 构建无整块 100MB memset,stitch 热路径不跑 verify dump - [ ] runtime_debug_mode=3:topo dump / CheckStitch 仍可工作 - [ ] Engram / 典型算子上板精度与功能回归   See merge request: cann/pypto!7305 | 24 days ago | |
fix(machine): Add value depend check for ifstmt Co-authored-by: qq_52905393<liuzhen180@huawei.com> # message auto-generated for no-merge-commit merge: !7392 merge dev-fix-host-ctrl-9.2.0 into 9.2.0 fix(machine): Add value depend check for ifstmt Created-by: qq_52905393 Commit-by: qq_52905393 Merged-by: cann-robot Description: 检测值依赖和 insert wait_aicore_start 的时候,增加 ifstmt 的检测 See merge request: cann/pypto!7392 | 24 days ago | |
event-leak-9.2.0 Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !7854 merge event-leak-9.2.0 into 9.2.0 event-leak-9.2.0 Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/3994 RunPreSync里event的创建原本是进程级只创建一个,全程复用,重构被改成了栈变量每次创建但是不释放。 还原回进程复用,且增加析构时的显示destory。 See merge request: cann/pypto!7854 | 1 day ago | |
fix(machine): Add aicore-resolve macro Co-authored-by: huanglu<huanglu22@hisilicon.com> # message auto-generated for no-merge-commit merge: !5549 merge master into master fix(machine): Add aicore-resolve macro Created-by: lululu40888 Commit-by: huanglu Merged-by: cann-robot Description: fix(machine): Add aicore-resolve macro See merge request: cann/pypto!5549 | 3 months ago | |
perf(machine): Host ctrl-flow / stitch hot-path opts for 9.2.0 Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> Co-authored-by: songyangyang18<songyangyang18@huawei.com> # message auto-generated for no-merge-commit merge: !7305 merge optimize/ctrlflow-host-perf-920-v2 into 9.2.0 perf(machine): Host ctrl-flow / stitch hot-path opts for 9.2.0 Created-by: LordOfMysteries Commit-by: LordOfMysteries;songyangyang18 Merged-by: cann-robot Description: ## Summary 将 master 上已落地的三笔 host ctrl-flow / stitch 热路径优化合入 9.2.0: 1. **#7244** fix(machine): Compile out host DEV_VERBOSE_ when ENABLE_COMPILE_VERBOSE_LOG=0 host 侧 DEV_VERBOSE_* 与 device 对齐,用 DEV_IF_VERBOSE_LOG 编译期剔除,避免 CF 录制时假热。 2. **perf(machine): Skip unused ctrl-flow cache payload memset** CreateHostCtrlFlowCache 不再整页 memset ~100MB;只清元数据前缀,payload 在 AllocateCache 按块清零。 3. **perf(machine): Gate host stitch verify/dump behind VERIFY mode** 默认跳过 CheckStitch / topo dump;仅 runtime_debug_mode=VERIFY 时开启。对外门控直接使用 topo_dump::DumpEnabled()。 ## Test plan - [ ] 相关 machine UT / emulation launcher 编译通过 - [ ] 默认路径:ctrl-flow cache 构建无整块 100MB memset,stitch 热路径不跑 verify dump - [ ] runtime_debug_mode=3:topo dump / CheckStitch 仍可工作 - [ ] Engram / 典型算子上板精度与功能回归   See merge request: cann/pypto!7305 | 24 days 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 |
| Files | Last commit | Last update |
|---|---|---|
| 2 months ago | ||
| 24 days ago | ||
| 24 days ago | ||
| 1 day ago | ||
| 3 months ago | ||
| 24 days ago | ||
| 3 months ago |