| Files | Last commit | Last update |
|---|---|---|
genop 支持ut 及arch35 目录生成 Co-authored-by: chenqi317<chenqi317@huawei.com> # message auto-generated for no-merge-commit merge: !7347 merge master into master genop 支持ut 及arch35 目录生成 Created-by: chenqi317 Commit-by: chenqi317 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> genop 支持UT 及arch35 目录框架生成 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> https://gitcode.com/cann/ops-nn/issues/2483 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!7347 | 4 months ago | |
fix: reject invalid generated operator names Co-authored-by: aodebiao<18003961989@163.com> # message auto-generated for no-merge-commit merge: !13103 merge fix/opgen-identifiers-20261030 into master fix: reject invalid generated operator names Created-by: gxhgxh2475698 Commit-by: aodebiao Merged-by: cann-robot Description: ## 描述 ### Motivation The operator project generator accepts names such as 123foo and class, then emits invalid C++ identifiers while reporting successful project creation. ### Changes - Reject names that cannot produce valid C++ identifiers or are C++ keywords before copying the template. - Clarify the name requirement in the command-line help. - Cover invalid names and valid generation for both template variants. ## 关联的Issue Closes #7735 ## 测试 - The actual generator CLI incorrectly accepted five invalid names on the original version; all were rejected after the change. Both valid template variants passed. Ruff checks passed. - No complete CANN build or NPU test was run. ## 文档更新 Command-line help updated. ## 类型标签 - [x] 🐛 Bug修复 - [x] 🧪 测试 See merge request: cann/ops-nn!13103 | 23 days ago | |
fix: reject invalid generated operator names Co-authored-by: aodebiao<18003961989@163.com> # message auto-generated for no-merge-commit merge: !13103 merge fix/opgen-identifiers-20261030 into master fix: reject invalid generated operator names Created-by: gxhgxh2475698 Commit-by: aodebiao Merged-by: cann-robot Description: ## 描述 ### Motivation The operator project generator accepts names such as 123foo and class, then emits invalid C++ identifiers while reporting successful project creation. ### Changes - Reject names that cannot produce valid C++ identifiers or are C++ keywords before copying the template. - Clarify the name requirement in the command-line help. - Cover invalid names and valid generation for both template variants. ## 关联的Issue Closes #7735 ## 测试 - The actual generator CLI incorrectly accepted five invalid names on the original version; all were rejected after the change. Both valid template variants passed. Ruff checks passed. - No complete CANN build or NPU test was run. ## 文档更新 Command-line help updated. ## 类型标签 - [x] 🐛 Bug修复 - [x] 🧪 测试 See merge request: cann/ops-nn!13103 | 23 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 4 months ago | ||
| 23 days ago | ||
| 23 days ago |