Inferensys

Glossary

GPU

A specialized electronic circuit designed to rapidly manipulate and alter memory to accelerate the creation of images and, in modern AI, perform massively parallel mathematical computations.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
Graphics Processing Unit

What is a GPU?

A specialized electronic circuit designed to rapidly manipulate and alter memory to accelerate the creation of images and, in modern AI, perform massively parallel mathematical computations.

A Graphics Processing Unit (GPU) is a specialized electronic circuit that performs rapid mathematical calculations, primarily for rendering images. Unlike a CPU, which uses a few cores optimized for sequential serial processing, a GPU features a massively parallel architecture consisting of thousands of smaller, efficient cores designed to handle multiple operations simultaneously.

In modern AI infrastructure, the GPU's parallel architecture is essential for accelerating the matrix multiplications and tensor operations at the heart of deep learning. Frameworks like CUDA allow developers to directly program these cores for general-purpose computing (GPGPU), making the GPU the foundational compute unit for training and running large-scale neural networks in on-premises clusters.

GPU MICROARCHITECTURE

Key Architectural Features

Modern GPUs derive their AI dominance from a highly parallel architecture fundamentally different from CPUs. These key features enable the massive throughput required for training and inference.

01

Streaming Multiprocessors (SMs)

The fundamental building block of an NVIDIA GPU. Each SM contains dozens of CUDA Cores for integer and floating-point arithmetic, Tensor Cores for matrix math, and dedicated Load/Store Units. An SM partitions threads into groups of 32 called warps, executing them in lockstep using a Single Instruction, Multiple Thread (SIMT) architecture. A single modern GPU can contain over 100 SMs, enabling the concurrent execution of thousands of threads.

02

Tensor Cores

Specialized execution units designed to accelerate matrix multiply-accumulate operations, the core computation of deep learning. Starting with the Volta architecture, Tensor Cores perform fused multiply-add on 4x4 matrices in a single clock cycle. Later generations added support for:

  • FP16, BF16, TF32, FP8, and INT8 precision formats
  • Sparsity acceleration, skipping zero-valued weights for a 2x throughput gain
  • Structured sparsity patterns enforced during training fine-tuning
03

Memory Hierarchy

A multi-layered memory system designed to feed the compute engines with minimal latency:

  • HBM3e: High-Bandwidth Memory stacks providing 4.8 TB/s+ bandwidth directly on-package
  • L2 Cache: A large, shared on-die cache (tens of MB) reducing HBM traffic
  • L1 Cache / Shared Memory: Per-SM programmable scratchpad memory for low-latency data sharing between threads in a block
  • Register File: The fastest storage, with tens of thousands of 32-bit registers per SM
04

NVLink & Interconnects

A high-bandwidth, low-latency GPU-to-GPU interconnect enabling direct memory access between accelerators. NVLink 4.0 provides 900 GB/s of bidirectional bandwidth per GPU. Multiple GPUs can be connected via NVSwitch to form a fully connected, non-blocking domain where every GPU can communicate with every other GPU at full speed. This is critical for tensor parallelism and pipeline parallelism strategies that split large models across multiple accelerators.

05

Multi-Instance GPU (MIG)

A hardware partitioning feature available on A100 and H100 GPUs that divides a single physical GPU into up to seven isolated instances. Each instance has:

  • Dedicated portions of SMs, memory bandwidth, and L2 cache
  • Hardware-enforced fault isolation and quality-of-service guarantees
  • Independent execution of different workloads (inference, training, or multi-tenant serving)

This maximizes utilization in cloud and shared cluster environments without noisy-neighbor interference.

06

Asynchronous Compute & Copy Engines

Dedicated hardware units that operate independently from the main compute pipeline:

  • Copy Engines: Handle data transfers between host (CPU) and device (GPU) memory, and between GPUs, without stalling the SMs
  • Compute Preemption: Allows long-running kernels to be paused at instruction-level granularity for higher-priority tasks

This enables overlapping computation with data movement, a critical optimization where the GPU computes one batch while the next batch is being transferred.

GPU FUNDAMENTALS

Frequently Asked Questions

Clear, technically precise answers to the most common questions about Graphics Processing Units and their role in modern AI infrastructure.

A Graphics Processing Unit (GPU) is a specialized electronic circuit designed to rapidly manipulate and alter memory to accelerate the creation of images in a frame buffer intended for output to a display device. Unlike a Central Processing Unit (CPU), which is optimized for sequential serial processing with a few highly sophisticated cores, a GPU is architected as a massively parallel processor comprising thousands of smaller, more efficient cores designed to handle multiple tasks simultaneously. This Single Instruction, Multiple Data (SIMD) architecture allows a GPU to execute the same operation on vast datasets concurrently. In modern AI, this parallelism is harnessed to perform the dense matrix multiplications and tensor operations that form the computational backbone of deep learning, making GPUs the de facto standard for training and running large neural networks.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.