A Tensor Core is a dedicated hardware unit that performs mixed-precision matrix multiply-accumulate (MMA) operations in a single clock cycle. Unlike standard CUDA cores that handle scalar operations, Tensor Cores compute on small matrix tiles (e.g., 4x4 for FP16/FP32 mixed-precision), delivering a massive throughput increase for linear algebra fundamental to neural network inference and training. Their design is a key enabler for the practical deployment of large models by drastically reducing computation time and energy consumption.
Glossary
Tensor Cores

What is Tensor Cores?
Tensor Cores are specialized processing units integrated into modern NVIDIA GPUs, designed to dramatically accelerate the matrix multiplication and accumulation operations that form the computational core of deep learning workloads.
For hardware-aware model design, Tensor Cores impose specific precision and data layout constraints. Algorithms must structure computations to leverage their tile-based MMA operations, often requiring 16-bit floating-point (FP16) or 8-bit integer (INT8) data types. This drives co-design practices where model architectures, such as those using depthwise separable convolutions, and compiler optimizations, like operator fusion in frameworks such as TensorRT, are tailored to maximize data reuse within these specialized units, directly impacting achievable latency and throughput on target silicon.
Key Features of Tensor Cores
Tensor Cores are specialized execution units within modern NVIDIA GPUs designed to accelerate the fundamental matrix operations underpinning deep learning. Their architecture is defined by several key characteristics that enable dramatic speedups in mixed-precision workloads.
Mixed-Precision Matrix Multiply-Accumulate
The core operation of a Tensor Core is the matrix multiply-accumulate (MMA). It computes D = A * B + C, where A, B, C, and D are matrices. Crucially, it performs this operation in mixed precision:
- Input matrices A and B are typically in FP16, BF16, or INT8 precision.
- The accumulation into matrix C and the final output D are stored in higher precision, such as FP32 or FP16. This design dramatically increases throughput (more operations per clock cycle) while maintaining the numerical range and precision needed for stable training and accurate inference.
Warp-Level Execution & Dataflow
Tensor Cores operate at the warp level (a group of 32 threads in NVIDIA GPUs). A single warp cooperatively issues a Tensor Core instruction to process a small, fixed-size matrix tile (e.g., a 16x16x16 MMA for FP16). This warp-synchronous programming model means:
- Threads within a warp must cooperate to load the matrix fragments (A, B, C) from shared memory or registers.
- The computation is inherently data-parallel and maps efficiently to the GPU's Single Instruction, Multiple Thread (SIMT) architecture.
- Efficient use requires careful data layout (e.g., using the WGMMA instruction in Hopper architecture) to minimize memory transactions and bank conflicts.
Sparsity Acceleration (2:4 Structured Sparsity)
Starting with the Ampere architecture, Tensor Cores gained native support for structured sparsity. This feature accelerates inference on networks where weights have been pruned to a specific 2:4 pattern:
- In every contiguous block of 4 values, exactly 2 must be zero.
- The hardware can skip computations on these known zeros, effectively doubling the throughput for sparse matrix operations.
- This requires a sparsity-aware training or pruning step to create compliant weight matrices, after which the speedup is automatic with no loss in model accuracy.
Transparent Compiler Integration
For most developers, Tensor Core acceleration is accessed transparently through compilers and frameworks, not via hand-written assembly.
- CUDA libraries like cuBLAS, cuDNN, and CUTLASS automatically generate Tensor Core-accelerated kernels for common operations (e.g., convolutions, linear layers).
- AI compilers such as TensorRT, TVM, and PyTorch's
torch.compileperform graph-level optimizations and automatically map eligible operations to Tensor Core instructions. - This allows models written in high-level frameworks like PyTorch and TensorFlow to leverage Tensor Cores with minimal code changes, often requiring only the specification of mixed-precision data types (e.g.,
torch.float16).
Architectural Evolution & Precision Support
Tensor Core capabilities have expanded significantly across GPU generations:
- Volta (V100): Introduced Tensor Cores supporting FP16 input with FP32 accumulation.
- Turing (T4): Added INT8 and INT4 precision for inference, boosting throughput for quantized models.
- Ampere (A100): Added BF16, TF32 (for accelerating FP32 workloads), and structured sparsity.
- Hopper (H100): Introduced the Transformer Engine with FP8 precision, dynamically selecting between FP8:FP16 and FP8:FP8:FP16 precisions per layer to optimize training for large language models. This evolution reflects the drive to support diverse model types and precision requirements for both training and inference.
Critical for Transformer & LLM Workloads
Tensor Cores are the primary engine for modern Transformer-based models and Large Language Models (LLMs). Their efficiency is crucial because:
- The core of the Transformer's attention mechanism and feed-forward networks are dominated by large matrix multiplications (GEMM).
- Training and inference of models with hundreds of billions of parameters would be infeasible without the massive throughput of Tensor Cores.
- Features like Hopper's Transformer Engine and FP8 support are directly tailored to reduce the time and cost of training and serving these massive models, making them a non-negotiable component in the AI hardware stack.
How Tensor Cores Work
Tensor Cores are specialized hardware units in modern NVIDIA GPUs designed to perform mixed-precision matrix multiply-accumulate operations at high throughput, accelerating deep learning workloads.
A Tensor Core is a dedicated processing unit within an NVIDIA GPU's streaming multiprocessor (SM) that performs the matrix multiply-accumulate (MMA) operation D = A * B + C in a single clock cycle. Unlike standard CUDA cores that execute scalar or vector operations, Tensor Cores are designed for mixed-precision computation, most commonly computing on 4x4 matrices using FP16 or BF16 inputs and accumulating results into FP32 precision. This architectural specialization allows them to deliver vastly higher FLOPs (Floating-Point Operations per Second) for the dense linear algebra that forms the computational core of deep learning training and inference.
For hardware-aware model design, Tensor Cores impose specific constraints and opportunities. To achieve peak throughput, algorithms must structure computations into the WMMA (Warp Matrix Multiply Accumulate) API's supported tile sizes (e.g., 16x16x16). Efficient use requires data layout in memory to minimize bank conflicts and maximize coalesced access. Compiler frameworks like TensorRT and TVM perform operator fusion and kernel auto-tuning to map neural network graphs onto these units, while techniques like per-channel quantization are optimized for the INT8 precision mode of Tensor Cores to maximize inference speed on edge hardware.
Tensor Core Generations Comparison
A technical comparison of NVIDIA Tensor Core implementations across major GPU architectures, highlighting key features for hardware-aware model design.
| Feature / Metric | Volta (V100) | Ampere (A100) | Hopper (H100) | Blackwell (B200) |
|---|---|---|---|---|
Architecture Codename | GV100 | GA100 | GH100 | GB100 |
Precision Support (FP) | FP16 | TF32, FP16, BF16 | FP8, TF32, FP16, BF16 | FP8, FP6, FP4, TF32, FP16, BF16 |
Sparsity Support | 2:4 Structured | 2:4 Structured | 2:4 & 4:8 Structured | |
Peak TFLOPS (FP16 Tensor Core) | 125 TFLOPS | 312 TFLOPS | 989 TFLOPS |
|
Transistor Count | 21.1 Billion | 54.2 Billion | 80 Billion | 208 Billion |
Memory Technology | HBM2 | HBM2e | HBM3 / HBM3e | HBM3e |
Dynamic Programming (DPX) Instructions | ||||
Transformer Engine | ||||
Compute-in-Memory (CIM) Support | Second-Generation CIM | |||
NVLink Bandwidth (per link) | 25 GB/s | 50 GB/s | 50 GB/s | 100 GB/s |
Frameworks and Libraries Using Tensor Cores
Tensor Cores are exposed and optimized through a specialized software stack. These frameworks and libraries provide APIs and compilers that map high-level operations to the hardware's mixed-precision matrix engines.
Frequently Asked Questions
Tensor Cores are specialized hardware units in modern NVIDIA GPUs designed to accelerate the matrix operations fundamental to deep learning. This FAQ addresses their function, benefits, and role in hardware-aware model design.
A Tensor Core is a specialized processing unit within NVIDIA GPUs, starting with the Volta architecture, designed to perform mixed-precision matrix multiply-accumulate (MMA) operations at extremely high throughput. It works by computing D = A * B + C, where A and B are 4x4 matrices in FP16 or BF16 precision, C and D are 4x4 matrices in FP16, BF16, FP32, or INT32 precision. This dedicated hardware bypasses the standard CUDA cores, executing the entire fused operation in a single clock cycle, which dramatically accelerates the dense linear algebra at the heart of deep learning training and inference.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Tensor Cores are a key component in the hardware-aware design stack. The following concepts are essential for understanding how specialized silicon, compiler optimizations, and algorithmic choices interact to maximize performance and efficiency.
Multiply-Accumulate Operations (MACs)
Multiply-Accumulate Operations are the fundamental computations in neural network inference and training, involving a multiplication followed by an addition (a += b * c). MACs serve as a hardware-agnostic metric for estimating the computational cost or FLOPs of a model. Tensor Cores and other AI accelerators are designed to execute massive volumes of MACs in parallel. Key considerations include:
- Operational Intensity: The ratio of MACs to memory accesses, which determines if a kernel is compute-bound or memory-bound.
- Sparsity: Exploiting zeros in weights or activations to skip MACs, a technique leveraged by sparse tensor cores.
Quantization-Aware Training (QAT)
Quantization-Aware Training is a model compression technique where a neural network is trained with simulated low-precision arithmetic (e.g., INT8) to learn parameters robust to the quantization error that occurs during integer inference. This process 'awareness' allows the model to adapt its weights, minimizing accuracy loss when deployed on hardware like Tensor Cores that natively support INT8 and INT4 precision modes. It is a critical step for maximizing the performance-per-watt gains offered by specialized hardware.
Operator Fusion
Operator fusion is a critical compiler optimization that combines multiple consecutive neural network operations into a single, fused kernel. This is essential for leveraging Tensor Cores efficiently because:
- It reduces intermediate tensor writes to slow global memory, keeping data in fast registers or shared memory.
- It minimizes kernel launch overhead and increases arithmetic intensity.
- Common fusions for Tensor Cores include:
Conv2D+BiasAdd+Activation, orMatMul+Add+GELU. Fusion transforms a sequence of memory-bound operations into a single compute-bound kernel, aligning with the Tensor Core's strength.
Roofline Model
The roofline model is an analytical performance model used to visualize the attainable performance of a computational kernel. It plots performance (e.g., TFLOPS) against operational intensity (Ops/Byte). The model reveals two ceilings:
- Memory-Bound: Performance limited by DRAM bandwidth.
- Compute-Bound: Performance limited by peak compute throughput (e.g., Tensor Core TFLOPS). For Tensor Core kernels, the goal is to design algorithms and data layouts that achieve operational intensity high enough to hit the compute roof, ensuring the hardware's immense throughput is fully utilized.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us