| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix 内存泄漏&内存越界 Co-authored-by: zhengchao0613<zhengchao45@huawei.com> # message auto-generated for no-merge-commit merge: !5227 merge master into master fix 内存泄漏&内存越界 Created-by: zhengchao0613 Commit-by: zhengchao0613 Merged-by: cann-robot Description: ## 描述 修复 HCCL 通道处理和 ReduceScatter 资源计算中的安全问题。 主要修改: - 修复 GetTopoTypeByLink 中 endPointDescs 的内存泄漏: - 增加 malloc 失败检查。 - 在接口调用失败、Endpoint 匹配成功以及未匹配进入下一轮循环前释放内存。 - 确保动态分配的内存在所有退出路径上均被释放。 - 修复 InsReduceScatterConcurrentExecutor::CalcRes 中的容器越界访问: - 在访问 algHierarchyInfo.infos[0][0] 和 algHierarchyInfo.infos[0][1] 前,校验 infos 非空且 infos[0] 至少包含两个成员。 - 参数不符合预期时返回 HCCL_E_PARA,避免越界访问导致未定义行为。 - 使用 CHK_RET 检查两个算法模板的 CalcRes 返回值,确保错误能够及时向上传播。 ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1546 ## 测试 ## 文档更新 不涉及文档更新。 ## 类型标签 - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5227 | 2 个月前 | |
refactor: impl目录下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4211 merge br_codestyle_impl2 into master refactor: impl目录下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照/clang-format刷新impl下tensor_api、simt_api、utils目录的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4211 | 3 个月前 | |
修复LoadData2D/3DBitMode接口的校验错误 Co-authored-by: UFOunder<zhangxiru1@huawei.com> # message auto-generated for no-merge-commit merge: !5202 merge master into master 修复LoadData2D/3DBitMode接口的校验错误 Created-by: UFOunder Commit-by: UFOunder Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 修复LoadData2D/3DBitMode接口的校验错误 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #1035--> https://gitcode.com/cann/asc-devkit/issues/1035 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5202 | 2 个月前 | |
capi 实现移除多余的reinterpret_cast Co-authored-by: chencangtao<chencangtao@huawei.com> # message auto-generated for no-merge-commit merge: !5193 merge reinterpret_cast_new into master capi 实现移除多余的reinterpret_cast Created-by: ChenCangtao Commit-by: chencangtao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> capi 实现移除多余的reinterpret_cast ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> UT ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [X] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5193 | 2 个月前 | |
expf sqrtf接口支持subnormal Co-authored-by: xuyiyang0324<xuyiyang6@huawei.com> # message auto-generated for no-merge-commit merge: !4722 merge master into master expf sqrtf接口支持subnormal Created-by: xuyiyang0324 Commit-by: xuyiyang0324 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> expf和sqrtf接口支持subnormal: 在impl/simt_api/math_functions_impl.h中,将expf和sqrtf接口实现修改,根据编译宏状态来控制代码逻辑走不同的分支,实现支持subnormal场景和sqrt高精度场景。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> https://gitcode.com/cann/asc-devkit/issues/1487 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 编写测试用例测试精度 | 函数 | ftz | prec-div | prec-sqrt | 全域 max ULP | normal 区 max ULP | 亚正规区 max ULP | |---|---|---|---|---|---|---| | **expf** | false | * | * | **1** | 1 | 1 | | **expf** | true | * | * | **4,320,708** | 1 | 4,320,708 | | **sqrtf** | false | * | true | **0** | 0 | 0 | | **sqrtf** | false | * | false | **1** | 1 | 1 | | **sqrtf** | true | * | true | **536,870,911** | 536,870,911 | 0 | | **sqrtf** | true | * | false | **536,870,911** | 536,870,911 | 0 | | **fdividef** | false | true | * | **0** | 0 | 0 | | **fdividef** | false | false | * | **1** | 1 | 1 | | **fdividef** | true | true | * | **4,294,967,294** | 0 | 4,294,967,294 | | **fdividef** | true | false | * | **4,294,967,294** | 1 | 4,294,967,294 | ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 在impl/simt_api/math_functions_impl.h中,将expf和sqrtf接口实现修改。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4722 | 2 个月前 | |
TensorAPI标题修改 Co-authored-by: ca1kw<caikaiwei@huawei.com> # message auto-generated for no-merge-commit merge: !4837 merge doc_master into master TensorAPI标题修改 Created-by: ca1kw Commit-by: ca1kw Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4837 | 2 个月前 | |
remove datatypes Co-authored-by: yhkz9211<huyulin4@huawei.com> # message auto-generated for no-merge-commit merge: !5229 merge remove into master remove datatypes Created-by: yhkz9211 Commit-by: yhkz9211 Merged-by: cann-robot Description: ## Description <!--Describe your changes in detail, including the reason for the changes and the methods used.--> 去除不必要的数据类型定义 ## Related Issue <!--If this PR resolves a specific issue, provide the issue link here. For example: Related Issue #xxx--> Related Issue [#1265](https://gitcode.com/cann/asc-devkit/issues/1265) ## Testing <!--Describe the tests performed to verify your changes, including but not limited to level-2 smoke tests and operator generalization.--> NA ## Documentation Updates <!--If this PR includes documentation updates, indicate them here. For example: Updated README.md file.--> NA ## Type Labels <!-- [x] indicates selected --> - [x] 🐛 fix: Bug fix - [ ] ✨ feat: New feature - [ ] ⚡ perf: Performance optimization - [ ] ♻️ refactor: Code refactoring - [ ] 🧪 test: Add or modify tests - [ ] 📝 docs: Documentation update - [ ] 🔧 ci: CI/CD configuration change - [ ] ↩️ revert: Revert changes - [ ] 🧹 chore: Other, please describe See merge request: cann/asc-devkit!5229 | 2 个月前 | |
adapt cmake 4.2.3 Co-authored-by: pengcheng1024<pengcheng40@hisilicon.com> # message auto-generated for no-merge-commit merge: !3120 merge master into master adapt cmake 4.2.3 Created-by: pengcheng1024 Commit-by: pengcheng1024 Merged-by: cann-robot Description: ## 描述 适配cmake4.2.3 确保tiling_directory.cmake路径配置正确 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3120 | 4 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 3 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 4 个月前 |