V2 Kernel Writing

Runtime-V2 kernel-writing workflow. Use when writing, porting, or rewriting ANY Runtime-V2 task kernel (tasks/blackwell_v2/*.cuh + registration) — a new op, a v1→v2 port, or a rewrite toward the reference linear_sm100_v2 warp-role pipeline idiom. Drives the staged loop SPEC→IMPLEMENT→WIRE→VALIDATE→PERF→REVIEW with per-stage subagents and the b200-* sub-skills, and enforces the M=1 anti-loop evidence + the v2 protocol invariants (§1.1 dep-prefix, stale-arrival re-init, skip_after_step0, task_offset wiring).

mirage-project a37b944 10 files · 148.8 KB Updated

File contents

mirage-project/mirage/tree/main/.claude/skills/v2-kernel-writing commit a37b9440ac

Frequently asked questions

npx skillmds@latest add mirage-project/v2-kernel-writing