English | 中文版
Appendix G: CANN 8.5 Kernel Coverage — 998 Kernels
This appendix documents the coverage of CANN 8.5 built-in kernels by the ascendc-to-rs transpiler.
- 998 CANN kernel names are registered in this catalog from the CANN 8.5 operator library.
- Kernels marked Transpiled (green) have correct AscendC C++ source (from the CANN SDK or an accurate generated stub) and a genuine Rust transpilation.
- Kernels marked Registered (grey) are known operator names whose AscendC source is not yet available — they show a generic placeholder stub, not the real kernel logic.
G.1 Kernel Inventory by Category
| Category | Total | Transpilable | Description |
|---|---|---|---|
| ops_index | 114 | 114 | Indexing (gather, scatter, sort, topk, …) |
| ops_legacy | 200 | 200 | Element-wise unary/binary (exp, abs, add, mul, …) |
| ops_math | 120 | 120 | Math functions (sin, cos, erf, atan, …) |
| ops_nn | 150 | 150 | NN activations & norms (relu, gelu, layernorm, …) |
| ops_optimizer | 82 | 82 | Optimizers (Adam, SGD, LAMB, …) |
| ops_reduce | 80 | 80 | Reductions (sum, max, argmax, cumsum, …) |
| ops_resize | 52 | 52 | Interpolation (bilinear, bicubic, nearest) |
| ops_transformer | 200 | 200 | Attention, matmul, MHA, flash attention |
G.2 Interactive Kernel Browser
Select a category and kernel to view the AscendC C++ source and transpiled Rust code. Click buttons to open in Playground.
998 kernels
← Select a kernel from the list
998 kernels cataloged. Green = transpiled, grey = registered (source pending).
Back to Chapter 9: Automated Transpilation