sablin39/tilelang-cuda-skills
Skill Claude CodeCodex
CUDA kernel development, debugging, and performance optimization for Claude Code. Use when writing, debugging, or optimizing CUDA code, GPU kernels, or parallel algorithms. Covers non-interactive profiling with nsys/ncu, debugging with cuda-gdb/compute-sanitizer, binary inspection with cuobjdump, and performance…
sablin39/tilelang-cuda-skills
Skill Claude CodeCodex
How to diagnose and fix errors in TileLang programs. Use this skill whenever a TileLang kernel fails to compile, crashes at runtime, produces incorrect results, or shows numerical mismatches. Also use when the user encounters TVM/TIR errors, CUDA codegen failures, shape mismatches, assertion failures, NaN/inf outputs…
sablin39/tilelang-cuda-skills
Skill Claude CodeCodex
How to optimize TileLang GPU kernels for better performance. Use this skill whenever the user has a working TileLang kernel that is too slow, wants to tune tile sizes or pipeline stages, needs to improve TFLOPS or bandwidth utilization, wants to use the AutoTuner, or asks questions like "how do I make my kernel…
sablin39/tilelang-cuda-skills
Skill Claude CodeCodex
How to benchmark and profile TileLang GPU kernels for performance measurement. Use this skill whenever the user wants to measure kernel latency, compare TileLang performance against PyTorch/cuBLAS/Triton, use dobench or getprofiler, calculate TFLOPS or bandwidth, run Nsight Compute or Nsight Systems on a TileLang…
sablin39/tilelang-cuda-skills
Skill Claude CodeCodex
How to write and test TileLang kernels that need both forward and backward passes. Use this skill whenever the user is implementing custom operators with gradients, writing attention forward+backward, linear attention fwd+bwd, any op used inside torch.autograd.Function, or debugging gradient mismatches. Also trigger…
sablin39/tilelang-cuda-skills
Skill Claude CodeCodex
Use torch.profiler as a lightweight, always-available alternative to Nsight Compute/Systems for profiling, debugging, and optimizing TileLang GPU kernels. Trigger this skill whenever the user wants to profile a TileLang kernel without installing ncu/nsys, get an operator/kernel breakdown of a forward pass that…
sablin39/tilelang-cuda-skills
Skill Claude CodeCodex
How to write TileLang GPU kernels from scratch or by adapting existing patterns. Use this skill whenever the user wants to create a new TileLang kernel, implement a GPU operator in TileLang, write a primfunc, set up tiling/blocking, define shared memory and fragment allocations, use T.gemm or T.copy, create a…