Triton Ascend Example Softmax

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

wenyi-li Updated 10 repo stars

File contents

wenyi-li/awesome-agent-kernel-skills commit b9dfea0aa3

Frequently asked questions

npx get-skill add wenyi-li/triton-ascend-example-softmax