Claude Code Writes CUDA Kernels That Beat PyTorch in Tests

Chien Vu tested Claude Code on an NVIDIA DGX Spark, having the agent write CUDA kernels across four operators. The results outperformed PyTorch in some cases, including a fused GELU kernel about 2.5x faster, with the agent inventing its own fp32 splitting trick.

2026-10-10 ~ 2026-10-10 · 2 related posts