Commit 93d4f3b
zhangyue
refactor(pr66): trim commit-narration comments
/simplify found 4 comment blocks that narrate the rename rationale
rather than encode load-bearing contracts:
- `kernel_custom.h` forward-decl — compress build-system detail
(`no_workspace_kernel`, `ascendc_library()`) to one line, keep only
the ABI contract (`aclrtlaunch_<Entry>` is generated by AscendC from
`op_kernel/`).
- `op_host/<op>.cpp` `EXEC_KERNEL_CMD` — drop "Parameter order follows
the base class: inputs, attributes, outputs."; the signature itself
is self-evident.
- `op_kernel/<op>.cpp` kernel entry — drop "Parameters follow the C2
convention ..." and "`aclrtlaunch_AddRmsNorm` matches the base
`AddRmsNorm` class name"; these are commit-message material, not
comments.1 parent d60c180 commit 93d4f3b
6 files changed
Lines changed: 4 additions & 22 deletions
File tree
- src/ascend
- add_rms_norm
- custom
- add_rms_norm
- op_host
- op_kernel
- rms_norm
- op_host
- op_kernel
- rms_norm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 17 | + | |
| 18 | + | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | 250 | | |
256 | 251 | | |
257 | 252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | 208 | | |
214 | 209 | | |
215 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 18 | + | |
| 19 | + | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
0 commit comments