What problem does it solve? Writing high-performance matrix multiplication kernels in TileLang requires deep knowledge of memory hierarchies, Tensor Core layouts, and GPU-specific tuning parameters. This Skill provides a complete, structured reference for generating and optimizing GEMM kernels on CUDA, from basic templates to advanced techniques like Split-K and fine-grained MMA. ## Core Features & Use Cases - Layered Optimization Guidance: Covers five optimization levels, from basic tiled GEMM templates through swizzling, L2 rasterization, auto-pipelining, persistent kernels, and Split-K/Stream-K decomposition. - Autotuning Workflows: Includes AutoTuner search-space construction, Roller (BitBLAS) hint-based configs, and SM-version heuristics for A100/H100 targets. - Specialized GEMM Variants: Provides patterns for FP8 GEMM, transpose-B layouts, dequant GEMM, and fine-grained MMA via TensorCoreIntrinEmitter, plus profiling with do_bench and a common-errors checklist. - Use Case: When asked to write a fast FP16 matmul kernel for an H100, follow the guide to start from the basic template, add swizzle layouts and rasterization, then autotune block sizes and pipeline stages to reach target TFLOPs. ## Quick Start Use the tilelang-cuda-gemm skill to write and optimize a TileLang GEMM kernel for my matrix multiplication workload.