Kernel Development

21 guides in this topic

This is the smallest cluster and the deepest one: writing and profiling the CUDA and Triton kernels that everything else in this blog eventually calls. It's for engineers who've hit a wall that quantization or a different serving engine can't fix, and need to know what's actually happening on the streaming multiprocessor.

The posts here cover kernel authoring (OpenAI's Triton for writing GPU kernels in Python, CUDA 13's new Tile programming model with the cuTile DSL) and profiling (Nsight Compute roofline analysis, Nsight Systems, PyTorch Profiler with HTA) alongside the specific kernel libraries and attention variants that define current inference performance: FlashAttention through its four generations, FlexAttention's compiled custom masks, Multi-Head Latent Attention's roughly 98% KV cache compression, and Liger Kernel's fused Triton patches for training.

The pillar post, FlashAttention-4 on GPU Cloud, covers the newest generation's tile-based kernels for Blackwell, benchmarked against FA3 with migration steps for vLLM and SGLang. If you're new to kernel-level work, start with the Triton or profiling posts to build a mental model before a specific kernel's internals.

Start Here

All Kernel Development Guides

GPU Memory Hierarchy Diagram: Registers to HBM Explained
Engineering

GPU Memory Hierarchy Diagram: Registers to HBM Explained

Sep 10, 2026
Reproducible GPU Benchmark GEMM: CUTLASS Profiler Tutorial
Engineering

Reproducible GPU Benchmark GEMM: CUTLASS Profiler Tutorial

Sep 9, 2026
CUDA Occupancy Calculator: What 100% Occupancy Really Means
Engineering

CUDA Occupancy Calculator: What 100% Occupancy Really Means

Sep 6, 2026
AMD vs NVIDIA Kernel Level Benchmark 2026: MI355X vs H200
Engineering

AMD vs NVIDIA Kernel Level Benchmark 2026: MI355X vs H200

Sep 5, 2026
CUTLASS vs Triton Kernel Authoring: CuTe DSL Guide (2026)
Engineering

CUTLASS vs Triton Kernel Authoring: CuTe DSL Guide (2026)

Sep 4, 2026
What Is Warp Divergence? The Hidden GPU Throughput Killer
Engineering

What Is Warp Divergence? The Hidden GPU Throughput Killer

Sep 4, 2026
GPU Spec Sheet vs Real World Performance Explained (2026)
Engineering

GPU Spec Sheet vs Real World Performance Explained (2026)

Sep 3, 2026
FlashAttention Explained: How It Cuts LLM Inference Costs
Engineering

FlashAttention Explained: How It Cuts LLM Inference Costs

Aug 31, 2026
HipKittens AMD Kernels: MI355X Performance in 2026
Engineering

HipKittens AMD Kernels: MI355X Performance in 2026

Aug 31, 2026
Multi-Head Latent Attention (MLA) on GPU Cloud: Cut KV Cache ~98% and Serve More Users Per GPU (2026 Guide)
Engineering

Multi-Head Latent Attention (MLA) on GPU Cloud: Cut KV Cache ~98% and Serve More Users Per GPU (2026 Guide)

Jun 25, 2026
Deploy FlashInfer on GPU Cloud: LLM Inference Kernels for vLLM and SGLang (2026 Guide)
Tutorial

Deploy FlashInfer on GPU Cloud: LLM Inference Kernels for vLLM and SGLang (2026 Guide)

Jun 19, 2026
CUDA News Today: NVIDIA Toolkit, AMD ROCm, and AI Framework Releases (2026)
Engineering

CUDA News Today: NVIDIA Toolkit, AMD ROCm, and AI Framework Releases (2026)

May 20, 2026
PyTorch FlexAttention: Custom Attention Patterns in Production (2026 Guide)
Tutorial

PyTorch FlexAttention: Custom Attention Patterns in Production (2026 Guide)

May 18, 2026
GPU Profiling for AI Workloads: Nsight Compute, Nsight Systems, and PyTorch Profiler Production Guide (2026)
Engineering

GPU Profiling for AI Workloads: Nsight Compute, Nsight Systems, and PyTorch Profiler Production Guide (2026)

May 10, 2026
OpenAI Triton Kernel Development on GPU Cloud: Write Custom AI Kernels in Python Without CUDA C++ (2026 Guide)
Tutorial

OpenAI Triton Kernel Development on GPU Cloud: Write Custom AI Kernels in Python Without CUDA C++ (2026 Guide)

May 10, 2026
Liger Kernel on GPU Cloud: Cut LLM Training Memory by 60% and Train 20% Faster
Engineering

Liger Kernel on GPU Cloud: Cut LLM Training Memory by 60% and Train 20% Faster

May 9, 2026
torch.compile and CUDA Graphs for LLM Inference: Production PyTorch 2.6 Guide (2026)
Engineering

torch.compile and CUDA Graphs for LLM Inference: Production PyTorch 2.6 Guide (2026)

Apr 27, 2026
CUDA 13 Tile Programming on GPU Cloud: A 2026 Developer Guide
Engineering

CUDA 13 Tile Programming on GPU Cloud: A 2026 Developer Guide

Apr 12, 2026
Try It Yourself

Try It on Real GPUs

The GPUs behind these guides are the ones you can rent here: H100s, H200s, B200s, and more, billed per minute after a 20-minute minimum runtime, with no contracts. Pick one and you are live in under two minutes.

Deploy Time
< 2 min
Uptime SLA
99.9%
GPU Models
10+
Billing
Per-Min