Skip to content

AI Glossary · Concepts

What is CUDA?

CUDA

CUDA is NVIDIA's platform for programming its graphics processing units (GPUs) for general computing. It includes a programming model, compiler, runtime and libraries that most AI frameworks use to run training and inference on NVIDIA hardware.

Also known as: NVIDIA CUDA

· Chain of Thought

AI HardwareAI Infrastructure

  • 2 explainers
  • 4 episodes
  • 2 guest clips
  • 2 sources

Most people who train or run models never write CUDA directly. They write Python in PyTorch or another framework, and the framework calls CUDA libraries underneath to split the math across thousands of GPU cores. A small group of specialists writes custom CUDA “kernels,” the low-level functions that do one operation as fast as the chip allows; FlashAttention began as one of those.

Years of libraries, tutorials and tuned code have built up around CUDA. That ecosystem is a large part of NVIDIA’s lead: a competing chip can be fast on paper and still lose if popular models and tools do not run well on it on day one. AMD’s alternative is ROCm, an open software stack; Google trains on TPUs through the XLA compiler instead. The switching cost in AI hardware is software covers that competition in depth.

In episode 72 at 15:13, AMD’s Anush Elangovan says a typical newcomer’s entry point is knowing “there has been something called CUDA and there’s something called Rokum” (the transcript’s spelling of ROCm); his goal is for users to deploy a model in natural language without knowing either. That is AMD’s aim, stated by an AMD executive. Episode 72 names Svix and Walrus Memory as presenting sponsors in its opening read. In episode 47 at 10:43, Google DeepMind’s Paige Bailey explains that early frameworks were built for CPUs and later “retrofitted” with separate code paths for CUDA and for XLA. Episode 47 was sponsored by Galileo (sponsor thanks at 49:12).

See also graphics processing unit.

Hear it from the guest

“I know there has been something called CUDA and there's something called Rokum, and in Rokum, I'm gonna use this.”
Watch on YouTube
“So you had different code paths to use CUDA implementations, to use XLA as the target compiler”
Watch on YouTube

Quotes lightly edited to remove filler words.

Sources

  • NVIDIA CUDA Programming Guide: Introduction — NVIDIA's guide introduces CUDA as the programming model, language extensions, runtime and tools for running general-purpose parallel code on NVIDIA GPUs; checked October 24, 2026.
  • AMD ROCm documentation: What is ROCm? — Describes ROCm as AMD's open software stack for GPU-accelerated computing, with runtimes, compilers, tools and math libraries for programming AMD GPUs; checked October 24, 2026.

Go deeper

From the conversation