| Files | Last commit | Last update |
|---|---|---|
fix(machine): Align bundle host control-flow cache Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !7265 merge fix/bundletestbug into master fix(machine): Align bundle host control-flow cache Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: bundle加载cache时,将其复制到vector<uint_8>,未保证64字节对齐,导致偶现未对齐段错误情况,现改为使用已有的CtrlFlowCacheBlob确保对齐 源码:using CtrlFlowCacheBlob = std::vector<uint8_t, npu::tile_fwk::AlignedAllocator<uint8_t, 0x40>>; See merge request: cann/pypto!7265 | 26 days ago | |
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 months ago | |
feat(dist): add a layer param to pld.create_window Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !7312 merge layer into master feat(dist): add a layer param to pld.create_window Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #3562 See merge request: cann/pypto!7312 | 27 days ago | |
perf(machine): Speed up host ctrl-flow cache build Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !7190 merge optimize/ctrlflow-cache-skip-unused-memset into master perf(machine): Speed up host ctrl-flow cache build Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/3681 ## Summary Host 侧构建 ctrl-flow cache 时,去掉默认路径上不必要的开销: 1. **跳过未使用 payload 的整块 memset** - CreateHostCtrlFlowCache 原先对约 100MB 容量上限做 AllocZero;录制实际只用约 1MB,usedCacheSize 拷 device 也不带走未用尾部。 - 改为只清 cacheData 之前的元数据前缀;payload 在 AllocateCache 按块(含 64B 对齐 padding)清零,保留 ready-queue / mix-task「洞必须为 null」语义。 - Engram ST 上 create_cache 约 5.7ms → 约 64µs。 2. **默认跳过 host stitch 校验 / topo dump** - 新增 HostTopoVerifyEnabled(),与 runtime_debug_mode == VERIFY 对齐。 - 默认关闭 CheckStitch、边校验以及 consumer/producer cell-access dump;VERIFY 时再开启。 - 不改 ENABLE_COMPILE_VERBOSE_LOG;无需为性能重编 verbose 开关。 ## UT - AllocateCache_ZerosPoisonedSlabAndPadding:poison 后分配,校验 slab + 64B padding 清零 - CreateHostCtrlFlowCache_AllocateCacheZerosPoisonedPayload:只清 header 后 poison payload,再经 AllocateCache 清零 - HostTopoVerifyEnabled_TrueWhenRuntimeDebugVerify:VERIFY 模式下门闩为 true - 原有 CreateHostCtrlFlowCache / BuildControlFlowCache 路径无需改断言 See merge request: cann/pypto!7190 | 27 days ago | |
fix(machine): Add control flow encode Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> Co-authored-by: wan_jianfen<wanjianfen@hisilicon.com> # message auto-generated for no-merge-commit merge: !6666 merge br_test into master fix(machine): Add control flow encode Created-by: wan_jianfen Commit-by: wan_jianfen;LordOfMysteries 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!6666 | 2 months ago | |
fix(runtime): dump tensors for extended AICore launch arguments Co-authored-by: hubowen<hubowen17@huawei.com> # message auto-generated for no-merge-commit merge: !7311 merge fix/aicerr_noinput into master fix(runtime): dump tensors for extended AICore launch arguments Created-by: W4termy Commit-by: hubowen Merged-by: cann-robot Description: kernel启动参数扩展,argsize将会大于56,而异常dump严格校验argsize=56导致dump流程被跳过 See merge request: cann/pypto!7311 | 24 days ago | |
feat(adapter): Add hcomm resource adapter, one-sided comm and acl rt APIs Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !7219 merge adaptor into master feat(adapter): Add hcomm resource adapter, one-sided comm and acl rt APIs Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue; #3562 See merge request: cann/pypto!7219 | 1 month ago |
| Files | Last commit | Last update |
|---|---|---|
| 26 days ago | ||
| 4 months ago | ||
| 27 days ago | ||
| 27 days ago | ||
| 2 months ago | ||
| 24 days ago | ||
| 1 month ago |