Triton Ascend API Rules

Triton Ascend hard API restrictions and forbidden syntax. MUST-follow rules that apply to every kernel: forbidden control flow (return/break/continue/lambda/while), tensor slice/index restrictions, scalar conversion rules, BLOCK_SIZE upper bound. Violating any of these produces a compile or runtime error on Ascend.

wenyi-li Updated

File contents

wenyi-li/awesome-agent-kernel-skills/tree/main/kernel-generator/references/dsl-guides/triton-ascend/fundamentals/triton-ascend-api-rules commit 5a5f1e9d4b

Frequently asked questions

npx skillmds@latest add wenyi-li/triton-ascend-api-rules