CUDA
Also known as: Compute Unified Device Architecture
Proprietary parallel computing platform and programming model from NVIDIA that lets developers run general-purpose code on its GPUs.
CUDA is a parallel computing platform and programming model created by NVIDIA that lets developers use the company's graphics processing units for general-purpose computation. It extends C and C++ with constructs for writing kernels, functions that run simultaneously across thousands of lightweight threads on the GPU, and provides a compiler, runtime, debugging tools and a large set of optimized libraries for linear algebra, signal processing, deep learning primitives and communication between GPUs.
NVIDIA introduced CUDA in 2006 alongside its GeForce 8 series graphics chips and released the first software development kit in 2007. Before CUDA, researchers who wanted to use graphics hardware for science had to disguise calculations as graphics operations. In the CUDA model, work is organized into grids of thread blocks that share fast on-chip memory, and the programmer manages data movement between system and GPU memory. Libraries such as cuBLAS and cuDNN hide much of this complexity, and frameworks including PyTorch and TensorFlow call them to run neural networks efficiently.
CUDA became the dominant software foundation for GPU computing in science and especially in deep learning, where the 2012 AlexNet result was achieved by training on NVIDIA GPUs. Because CUDA is proprietary and runs only on NVIDIA hardware, its large ecosystem is often cited as a source of vendor Lock-In and a key part of NVIDIA's market position. Alternatives include the open OpenCL standard, AMD's ROCm and HIP, SYCL and Vulkan compute, along with compilers that target several vendors, but porting mature CUDA code bases is still a substantial effort.
Key points
- CUDA lets programmers run general-purpose parallel code on NVIDIA GPUs.
- NVIDIA introduced it in 2006, with the first SDK released in 2007.
- Libraries such as cuBLAS and cuDNN accelerate the math behind deep learning frameworks.
- Its proprietary, NVIDIA-only design is a frequent example of vendor lock-in in AI hardware.
Related entries
NVIDIA
American semiconductor company that designs graphics processors and the AI accelerators and software on which most deep learning runs.
Graphics Processing Unit
Highly parallel processor originally designed to render images, now also widely used for scientific computing and for training and running AI models.
Parallel Computing
Form of computation in which many calculations run simultaneously on multiple processors or cores to solve problems faster or at larger scale.
Approach to machine learning that trains neural networks with many layers to learn increasingly abstract representations directly from raw data.
PyTorch
Open-source machine learning framework combining GPU-accelerated tensors with automatic differentiation, widely used for deep learning research.
TensorFlow
Open-source machine learning library from Google for building, training and deploying neural networks on CPUs, GPUs, TPUs and mobile devices.
Vendor Lock-In
Situation in which switching away from a supplier's product or service is so costly or difficult that customers become dependent on it.
C++
General-purpose programming language created by Bjarne Stroustrup as an extension of C, combining low-level control with high-level abstractions.