Auto-research with codex: How I achieved a 232x Faster Kernel
- AI
- Programming
- Developer Tools
- Hardware
The post is a first-person writeup about using an automated research loop with coding agents to optimize a kernel, with the agent repeatedly benchmarking, profiling, checking correctness, researching alternatives, and trying new implementations until it found a much faster result. The practical claim is not just that one kernel got dramatically faster, but that this workflow can offload a class of performance work that used to demand a specialist sitting in the profiler for hours.
Use agentic optimization where you have a real oracle like tests, profilers, and representative benchmarks. Do not treat leaderboard speedups or single-shape kernels as drop-in improvements for production libraries unless you also validate across varied inputs and numerical edge cases.
-
sankalp.bearblog.dev
- Discuss on HN