Skip to main content

triton-ascend-example-softmax

Softmax 归约算子的完整 Triton Ascend 实现示例。展示三阶段归约模式(求 max → 求 sum(exp) → 归一化)、分块累加、标量累加器精度提升等技巧。当生成 reduce 类算子时可参考此示例的代码结构。

Jump to install

Source facts

Repository
mindspore-ai/akg
Last source activity
March 28, 2026 at 06:55
Detected SKILL.md language
Chinese
Stars
259
Forks
48

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.