kernel-microbenchmark
Installation
SKILL.md
Kernel Microbenchmark
Workflow
- Create an isolated repro or benchmark when the existing harness is noisy.
- Check correctness before timing. Keep tolerances explicit.
- Time only the operation under study. Exclude allocation, compilation, random input generation, logging, and host-device transfers unless those are the target.
- Compare against a baseline and report enough metadata to reproduce the result: GPU, dtype, shape, command, branch/commit, and relevant env vars.
- Treat explanations as hypotheses until backed by an artifact: ablation, generated PTX/SASS, profiler output, or controlled benchmark.
- If the result changes the conclusion, preserve the compact lesson in a note,
comment, benchmark table, or final summary. For experiments, a short
Question / Change / Correctness / Result / Observation / Nextnote is usually enough.