October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Santa Clara desk4 min

Can AI Write CUDA Code—and Threaten NVIDIA’s Moat?

AI is getting better at CUDA code generation and kernel optimization. The evidence shows real capability on defined tasks, not proof that engineers or NVIDIA’s CUDA advantage have been displaced.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Yes: AI can generate CUDA code and, in a constrained research setup, optimize GPU kernels. But that is not the same as replacing CUDA engineers or proving NVIDIA’s competitive moat is weakening. The strongest evidence points to growing capability on specific programming and optimization tasks, with correctness, workload, and human involvement shaping the results.

What does it mean for AI to “do CUDA engineering”?

CUDA work includes more than writing code that compiles. A kernel must produce correct results, use GPU resources effectively, and fit into the surrounding application. NVIDIA’s ComputeEval benchmark probes areas including kernel launches, thread management, memory layouts, shared memory, Tensor Cores, warp-level primitives, and orchestration with CUDA Graphs, Streams, and Events.

As an Amazon Associate I earn from qualifying purchases.

That makes a useful distinction: generating a plausible kernel is one capability; generating a correct kernel is another; finding a faster implementation for a particular workload is a further step. Results from tests of code generation and tests of optimization answer different questions, so their scores cannot be compared as if they shared one scale.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How well can AI generate CUDA code?

NVIDIA’s ComputeEval measures functional correctness on purpose-built programming problems. Its first 2025 release contained 128 problems. In NVIDIA’s ComputeEval 2025.1 report, OpenAI o3-mini scored 0.61 pass@1 and Anthropic Claude Sonnet 3.7 scored 0.54. Pass@1 records whether one generated answer passes for a problem; these figures describe performance on that benchmark release, not a model’s general programming ability.

#1 Best Overall
Sale
ASUS Dual GeForce RTX 5060 Ti 16GB GDDR7 OC Edition Gaming Graphics Card | PCIe 5.0, HDMI 2.1b, DisplayPort 2.1b, 2.5-slot, Axial-tech Fans, 0dB Technology, Dual BIOS
  • AI Performance: 767 AI TOPS
  • OC mode: 2632 MHz (OC mode)/ 2602 MHz (Default mode)
  • Powered by the NVIDIA Blackwell architecture and DLSS 4
  • Axial-tech fan design features a smaller fan hub that facilitates longer blades and a barrier ring that increases downward air pressure
  • A 2.5-slot design maximizes compatibility and cooling efficiency for superior performance in small chassis

NVIDIA expanded the benchmark in its November 2025 update to 232 problems, adding more challenging modern CUDA features. On ComputeEval 2025.2, GPT-5 (medium) scored 0.5819 pass@1. Its 2025.1 result was 0.61, but the two releases are not a like-for-like test: NVIDIA says the expanded set is more difficult and explains the lower score on that basis.

Test Reported result What it establishes
ComputeEval 2025.1, 128 problems OpenAI o3-mini: 0.61 pass@1; Claude Sonnet 3.7: 0.54 pass@1 (NVIDIA, 2025) Functional correctness on the benchmark’s first problem set, not broad productivity or deployment readiness.
ComputeEval 2025.2, 232 problems GPT-5 (medium): 0.5819 pass@1 (NVIDIA, 2025) Performance on an expanded, harder set. Its score should not be treated as a direct regression against the earlier release.

NVIDIA’s April 2025 report says leading models still failed on complex CUDA tasks, and sometimes missed basic instructions that they could follow in other languages. ComputeEval is useful evidence of what models can do on its test set; it does not measure engineering-team productivity, maintainability, deployment safety, or how dependent a company is on CUDA.

Can AI optimize GPU kernels, not just write them?

A May 2026 preprint by Mao Luo, Hongbin Li, Feng Lin, Hanling Yi, and Zhe Huang describes an agentic workflow that generated, debugged, profiled, and optimized kernels for selected workloads. The authors report results substantially faster than the PyTorch reference implementations, plus a separate contest result against a FlashInfer baseline.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Workload or comparison Reported result Qualification
Fused MoE 92.68× versus the PyTorch reference Authors’ result for this selected workload in a preliminary preprint.
DSA TopK Indexer 1101.02× versus the PyTorch reference Authors’ result for this selected workload in a preliminary preprint.
DSA Sparse Attention 181.35× versus the PyTorch reference Authors’ result for this selected workload in a preliminary preprint.
Contest evaluation 1.71× over a FlashInfer baseline Authors’ result in that contest evaluation; it is not a general comparison of frameworks or workloads.

Those large speedups are not universal estimates of what AI will deliver on everyday GPU code. They compare specific optimized kernels with the stated reference implementations in a particular evaluation. The manuscript is preliminary and under review, so its findings should be read as evidence of capability on those tasks rather than settled results for production engineering at large.

Rank #2
ASUS TUF Gaming GeForce RTX™ 5080 16GB GDDR7 OC Edition Graphics Card
  • Powered by the NVIDIA Blackwell architecture and DLSS 4. System Requirements: Minimum 850W PSU with 16-pin 12V-2x6 (12VHPWR) connector required. Verify before purchasing.
  • Military-grade components deliver rock-solid power and longer lifespan for ultimate durability. Compatibility: 348mm (13.7") length, 3.6 slots, 4.3 lbs. Confirm case clearance and slot spacing. GPU bracket included.
  • Protective PCB coating helps protect against short circuits caused by moisture, dust, or debris
  • 3.6-slot design with massive fin array optimized for airflow from three Axial-tech fans
  • Phase-change GPU thermal pad helps ensure optimal thermal performance and longevity, outlasting traditional thermal paste for graphics cards under heavy loads

What people still did in the workflow

The agents did not work from an open-ended request alone. The authors supplied PyTorch implementations, task definitions, benchmark commands, and a compact set of CUDA optimization skills. Humans established the process, enforced correctness and anti-hacking constraints, provided references, and redirected searches when agents stalled. The results therefore show AI doing substantial kernel work within a human-designed and correctness-gated system—not autonomous replacement of an engineering organization.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What does this say about NVIDIA’s CUDA moat?

NVIDIA dates CUDA’s launch to 2006. At GTC 2026, the company said its developer community had grown to more than six million. That is NVIDIA’s reported community figure, not an independent count of active developers or a direct measure of switching costs.

The ecosystem’s history is also a story of adoption and accumulated expertise. In NVIDIA’s GTC 2026 retrospective, Paulius Micikevicius, a software engineer at Meta Superintelligence Labs, recalled the early resistance to GPU computing: “We had to go and beg them to consider using GPUs.” Kate Clark, a distinguished devtech engineer at NVIDIA, expressed her view of CUDA’s staying power: “I don’t see that going anywhere anytime soon. We’ll always have CUDA everywhere.” These are attributed recollections and opinions, not independent market measurements.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

AI assistance could plausibly make CUDA easier to use, or make optimization and migration work less costly. The evidence here does not establish which effect will dominate. Benchmark correctness and selected kernel speedups do not show whether companies are changing platforms, how well generated code is maintained over time, or how AI changes the economics of cross-platform porting.

Quick Recap

SaleBestseller No. 1
ASUS Dual GeForce RTX 5060 Ti 16GB GDDR7 OC Edition Gaming Graphics Card | PCIe 5.0, HDMI 2.1b, DisplayPort 2.1b, 2.5-slot, Axial-tech Fans, 0dB Technology, Dual BIOS
ASUS Dual GeForce RTX 5060 Ti 16GB GDDR7 OC Edition Gaming Graphics Card | PCIe 5.0, HDMI 2.1b, DisplayPort 2.1b, 2.5-slot, Axial-tech Fans, 0dB Technology, Dual BIOS
AI Performance: 767 AI TOPS; OC mode: 2632 MHz (OC mode)/ 2602 MHz (Default mode); Powered by the NVIDIA Blackwell architecture and DLSS 4
$771.53
Bestseller No. 2
ASUS TUF Gaming GeForce RTX™ 5080 16GB GDDR7 OC Edition Graphics Card
ASUS TUF Gaming GeForce RTX™ 5080 16GB GDDR7 OC Edition Graphics Card
3.6-slot design with massive fin array optimized for airflow from three Axial-tech fans; Auto-Extreme precision automated manufacturing helps ensure higher reliability
$1,829.99

What the evidence supports—and what it does not

  • Supported: AI models can generate correct CUDA solutions on some benchmark problems, and agents have produced fast kernels for selected workloads under a constrained workflow.
  • Not established: That AI can reliably handle the full range of CUDA engineering, replace CUDA engineers, or has already weakened NVIDIA’s moat.
  • Still an open question: Whether AI ultimately strengthens CUDA by lowering the effort needed to use it, weakens its advantage by making alternatives easier to adopt, or does both in different settings.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.