| Files | Last commit | Last update |
|---|---|---|
fix(machine): Split runtime headers and use secure bundle functions Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !6428 merge fix/master_cleancode into master fix(machine): Split runtime headers and use secure bundle functions Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: cleancode 超大头文件、不安全函数修改 See merge request: cann/pypto!6428 | 2 months ago | |
fix(build): Drop the removed intf_pub_cxx17 from the bundle targets Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !5306 merge fix-intf-pub-cxx17 into master fix(build): Drop the removed intf_pub_cxx17 from the bundle targets Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 修改交叉合入带来的编译问题 See merge request: cann/pypto!5306 | 3 months ago | |
feat(machine): Support offline compilation and packaging Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !4974 merge jd into master feat(machine): Support offline compilation and packaging Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 支持离线打包二进制 See merge request: cann/pypto!4974 | 3 months 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(machine): Fix the incorrect memory pool free Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !5394 merge fix-intf-pub-cxx17 into master fix(machine): Fix the incorrect memory pool free Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 使用bundle能力进行aicore-error单算子复现时,值依赖算子下,静态算子会让两个 map 始终为空(GetOrCopy 在 hostCtrlCache为空时提前返回,GetOrAllocCellMatch 在 bytes == 0时提前返回),析构中的循环一次都不会执行。 修复:去掉 ~KernelBundleDevCache() 中的 free,仅清空两个 map。设备内存的释放行为不变。 See merge request: cann/pypto!5394 | 3 months ago | |
feat(machine): Support offline compilation and packaging Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !4974 merge jd into master feat(machine): Support offline compilation and packaging Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 支持离线打包二进制 See merge request: cann/pypto!4974 | 3 months ago | |
fix(machine): Split runtime headers and use secure bundle functions Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !6428 merge fix/master_cleancode into master fix(machine): Split runtime headers and use secure bundle functions Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: cleancode 超大头文件、不安全函数修改 See merge request: cann/pypto!6428 | 2 months ago | |
fix(machine): prevent offline exception dump segfault on bundle launch Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !5936 merge fix/exception-dump-offline into master fix(machine): prevent offline exception dump segfault on bundle launch Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 修复单算子复现出现段错误的问题 当前bundle启动时会将kername写到opname中,在进行异常复现时先读取opname中的名称,避免由于bundle不走前端而导致的lastfunc为空指针的情况 See merge request: cann/pypto!5936 | 2 months ago | |
fix(machine): Split runtime headers and use secure bundle functions Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !6428 merge fix/master_cleancode into master fix(machine): Split runtime headers and use secure bundle functions Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: cleancode 超大头文件、不安全函数修改 See merge request: cann/pypto!6428 | 2 months ago | |
fix(machine): prevent offline exception dump segfault on bundle launch Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !5936 merge fix/exception-dump-offline into master fix(machine): prevent offline exception dump segfault on bundle launch Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 修复单算子复现出现段错误的问题 当前bundle启动时会将kername写到opname中,在进行异常复现时先读取opname中的名称,避免由于bundle不走前端而导致的lastfunc为空指针的情况 See merge request: cann/pypto!5936 | 2 months ago | |
feat(machine): Support offline compilation and packaging Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !4974 merge jd into master feat(machine): Support offline compilation and packaging Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 支持离线打包二进制 See merge request: cann/pypto!4974 | 3 months ago | |
refactor(machine): Remove DeviceRunner and redistribute init flow Co-authored-by: wan_jianfen<wanjianfen@hisilicon.com> # message auto-generated for no-merge-commit merge: !5426 merge refactor/remove-device-runner into master refactor(machine): Remove DeviceRunner and redistribute init flow Created-by: wan_jianfen Commit-by: wan_jianfen Merged-by: cann-robot Description: refactor(machine): Remove DeviceRunner and redistribute init flow DeviceRunner was a god-class singleton that mixed device init, HostProf management, DevicePerf management, stream synchronization, and AiCpu .so loading. This PR dissolves it entirely, redistributing each responsibility to its natural module. Changes: - Move init flow (InitDeviceArgs / InitDeviceArgsCore / GetAicoreRegs / InitAiCpuSoBin / SetAiCpuSoOverride) into KernelBinary with static g_deviceArgs + std::call_once guard (EnsureInitialized / InitMetaData / GetEnableDumpDevPref) - Move HostProf methods (SetHostProfFunction / GetHostProfType / ReportHostProfInfo) into HostProf::GetInstance() singleton - Move DevicePerf methods (ResetPerData / SyncProfData / SetDebugEnable) into DevicePerf::GetInstance() singleton - Move DynamicLaunchSynchronize into DeviceLauncher - Move KernelLaunchInfo struct into device_launcher_types.h - Delete device_runner.h and device_runner.cpp - Update all call sites: device_launcher.cpp, kernel_bundle_launch.cpp, pypto_bundle_api.cpp, test_dev_func_runner.h, UT files - Remove device_runner.h from CMakeLists.txt install list Related Issues: #2967 See merge request: cann/pypto!5426 | 3 months ago | |
feat(machine): Support offline compilation and packaging Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !4974 merge jd into master feat(machine): Support offline compilation and packaging Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 支持离线打包二进制 See merge request: cann/pypto!4974 | 3 months ago | |
feat(machine): Support offline compilation and packaging Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !4974 merge jd into master feat(machine): Support offline compilation and packaging Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 支持离线打包二进制 See merge request: cann/pypto!4974 | 3 months ago | |
fix(machine): Report queued errors on bundle launch failure Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !6167 merge fix/bundle_aicore_exception into master fix(machine): Report queued errors on bundle launch failure Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 原离线路径遇到DeviceSynchronize失败只返回rc值而不触发异常信息队列的打印,导致单算子复现aicore异常部分场景info.txt中无异常日志。 现在bundlelaunch结尾检测rc值并显式调用OutputErrorMessage将首条异常信息打印 See merge request: cann/pypto!6167 | 2 months ago | |
fix(machine): export std::any<long> manager for bundle cross-DSO type identity Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !6018 merge longlong into master fix(machine): export std::any<long> manager for bundle cross-DSO type identity Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 运行时配置以 std::any 存储在 libtile_fwk_interface.so 中,并在 libtile_fwk_bundle.so 中通过 AnyCast<int64_t> 读取。 tile_fwk_bundle.version 中的 local: * 将 bundle 内的 std::any<long> manager 符号本地化,导致 interface 和 bundle 使用不同地址的 manager。 当前 libstdc++ 实现通过 manager 地址判断 std::any 类型,因此将相同的 long 误判为不同类型。 在 bundle 版本脚本中精确导出 std::any<long> manager: _ZNSt3any17_Manager_internalIlE9_S_manage*; 使动态链接器能够统一 interface 和 bundle 中的 manager 符号。 See merge request: cann/pypto!6018 | 2 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 2 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 2 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 2 months ago | ||
| 2 months ago |