sablin39

7 mods across 1 repository, 137 stars between them.

cuda

01

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…

137 3mo ago A 102 tokens

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…

137 3mo ago A 149 tokens

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…

137 3mo ago A 167 tokens

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…

137 3mo ago A 142 tokens

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…

137 3mo ago A 131 tokens

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…

137 3mo ago A 194 tokens

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…

137 3mo ago A 191 tokens