---
title: "CUDA"
description: "23 posts about CUDA, summarised, each linking to the original."
---

# CUDA
> 23 posts about CUDA, summarised, each linking to the original.

## Articles

### [Speeding up GPU kernels by 38% with a multi-agent system](https://yomu.fyi/post/speeding-up-gpu-kernels-by-38-with-a-multi-agent-system.md)
- Company: [Cursor](https://yomu.fyi/company/cursor.md)
- Author: Wilson Lin, Sahil Modi, Yuan Zhang & Edward Lin
- Published: Apr 14, 2026
- Type: Benchmark

The post reports a three-week experiment in which a multi-agent system optimized 235 CUDA kernel problems generated from workloads spanning more than 124 production open-source models. Using SOL-ExecBench on 27 NVIDIA Blackwell 200 GPUs, the system used a planner to distribute and rebalance work, while autonomous workers benchmarked, debugged, and refined kernels without developer intervention. It ran separate CUDA C with inline PTX and CuTe DSL runs, reaching assembly-level optimization and learning a documented higher-level API. Against a single-agent optimized PyTorch baseline, it outperformed 149 of 235 problems, achieving a 1.38x geometric mean ratio, while 45 solutions exceeded 2x. The highlighted cases included an 84% geomean gain over a human FlashInfer baseline for paged-prefill attention, a 39% gain for NVFP4 MoE linear, and a GEMM reaching 86% of a tuned cuBLAS baseline; median SOL was 0.56, leaving room for improvement.


### [1.5x faster MoE training with custom MXFP8 kernels](https://yomu.fyi/post/1-5x-faster-moe-training-with-custom-mxfp8-kernels.md)
- Company: [Cursor](https://yomu.fyi/company/cursor.md)
- Author: Stuart Sul
- Published: Aug 29, 2025
- Type: Benchmark

An upgrade from Hopper H100s to Blackwell B200s exposed the Mixture-of-Experts (MoE) layer, implemented with MegaBlocks, as a major training bottleneck: it consumed nearly 53% of forward-pass time and 27% of backward-pass time. The team rewrote the layer at the GPU-kernel level using CUDA, PTX, and some ThunderKittens, while moving from BF16 to microscaled FP8 (MXFP8) with nearly zero loss in training quality. The implementation addresses Blackwell-specific tensor memory constraints and quantization overhead, including custom MXFP8 quantization that sustains more than 6.2 TB/s and emits scale matrices directly compatible with tcgen05.mma. On an internal model, MoE execution became 3.5x faster in both passes, producing a 1.5x end-to-end speedup on Blackwell and 2x versus the original Hopper setup, measured in tokens per second per GPU.


### [What are these "GPUs" really?](https://yomu.fyi/post/what-are-these-gpus-really.md)
- Company: [Fly.io](https://yomu.fyi/company/fly-io.md)
- Published: Dec 11, 2023
- Type: Explainer

The post explains how graphics hardware evolved from CPU-offloaded video rendering into modern GPUs and why those devices now matter for AI/ML. It traces the path from the Commodore 64’s VIC-II and 3D accelerator cards through Quake, Tomb Raider, integrated graphics, and increasingly parallel hardware, while describing components such as framebuffers, command processors, shader hardware, memory, and display outputs. It then connects shader and CUDA cores to workloads including GPT-2, Stable Diffusion, and speech or text processing, and presents model chaining as more useful than treating models as isolated tools. A conference-video workflow combines ffmpeg, Whisper, subtitle segmentation, a large language model, Markdown, and human review to produce accessible written material. The conclusion distinguishes graphics-capable cards from A100 accelerators, which the post says cannot process graphics or encode video but are highly effective for AI/ML workloads.


[Newer posts](https://yomu.fyi/topic/cuda.md)
