A primer on GPUs and kernel optimization
nomi_uw
191 points
26 comments
November 05, 2026
Related Discussions
Found 5 related stories in 50.9ms across 3,874 title embeddings via pgvector HNSW
- Write your own kernel optimiser speckx · 42 pts · November 10, 2026 · 61% similar
- Show HN: GPUWorks – A 40 MB GPU cluster manager for vLLM/SGLang, no K8s needed wangweinoo1 · 25 pts · November 04, 2026 · 53% similar
- Show HN: Compile the same source for GPUs and CPUs spacedcowboy · 25 pts · November 13, 2026 · 50% similar
- GPU-unlock: FP/BF16 instruction issue rate on Nvidia 3000's cards fragebogen · 214 pts · October 24, 2026 · 47% similar
- Claude Mythos slashed software work to onboard AMD GPUs to around three days nsoonhui · 34 pts · November 17, 2026 · 47% similar
Discussion Highlights (4 comments)
augment_me
Crazy to not see a word about benchmarking/evaluation of the kernels. IMO at this time when all performant GPU kernels are generated/hill-climbed, its the largest source of error we see. Should be kernel run with a hot or cold cache in practice? Should your kernel be bitwise equivalent to a ref? What error margins should your kernel have to ref? How many times are you running the kernel to avoid thermal noise? Are you running on separate GPUs to avoid overfitting the current hardware? Can you cudagraph-compiling your kernel to remove launch overhead? Are you A/B B/A interleaving your kernel/reference runs to avoid running thermal bias?
kollegekid
The writing here is so clear. Do you use Llms to write?
saagarjha
> On the H200s used for most of this work, the GPU's main memory is HBM, or high-bandwidth memory. Ironically, this is the slowest memory on the chip. Nit: HBM is off chip, unlike shared memory and registers
brcmthrowaway
Someone needs to write a book on this