# SemiAnalysis 解释 LLM GPU kernel 优化为何价值数亿美元

- 来源：SemiAnalysis (@SemiAnalysis_)
- 发布时间：2026-09-05 05:01
- AIHOT 分数：27
- AIHOT 链接：https://aihot.virxact.com/items/cmtng74yw07bmrog1ye073125
- 原文链接：https://x.com/SemiAnalysis_/status/2095980532186140692

## AI 摘要

SemiAnalysis 发推解释 kernel 的双重含义：爆米花玉米粒，以及执行 LLM 数学与 attention 算子的几百行 GPU 代码。原文指出只有 kernel 持续喂满 tensor core，GPU 才能跑出纸面 FLOPS，糟糕的内存访问模式会让芯片闲置；在 OpenAI 的服务规模下，个位数百分比的 kernel 提升就意味着数亿美元的算力。该推文标注为系列第 1/2 条。

## 正文

A (popcorn) kernel is a specialized seed from a variety of corn that can burst open and turn inside out when heated. A kernel is also a few hundred lines of GPU code that executes the math and attention op in an LLM. A GPU only delivers its paper FLOPS if kernel keeps the tensor cords fed. Sloppy memory access patterns results in silicon that sits idle. At OpenAI's serving scale, single digit % kernel gains are hundreds of millions in compute. (1/2)🧵
