Tensor Cores are specialized processing units integrated into modern NVIDIA GPUs, starting with the Volta architecture, designed to perform mixed-precision matrix multiply-and-accumulate (MMA) operations at extremely high throughput. They accelerate the core computations of deep learning inference and training by executing operations like D = A * B + C, where A and B are low-precision matrices (e.g., FP16, BF16, INT8, INT4) and C and D are higher-precision matrices (e.g., FP16, FP32). This hardware-level optimization provides a massive performance leap for workloads dominated by linear algebra, such as training and running transformers and convolutional neural networks.
Glossary
Tensor Cores

What is Tensor Cores?
A definition of Tensor Cores, specialized processing units for accelerating matrix operations in deep learning.
For on-device inference optimization, Tensor Cores are critical for achieving low latency and high energy efficiency. By performing many low-precision operations in a single clock cycle, they enable the real-time execution of complex models on edge hardware. Software frameworks like CUDA, cuDNN, and TensorRT automatically leverage Tensor Cores when available, compiling standard neural network operations into optimized kernels. Their efficiency is a key enabler for deploying large language models (LLMs) and vision models in resource-constrained environments, directly supporting the pillar of Small Language Model Engineering by making powerful model execution feasible on local devices.
Key Characteristics of Tensor Cores
Tensor Cores are specialized processing units within modern NVIDIA GPUs designed to perform mixed-precision matrix multiply-and-accumulate operations at very high throughput, accelerating deep learning workloads.
Mixed-Precision Matrix Operations
The core function of a Tensor Core is to perform the matrix multiply-and-accumulate (MMA) operation: D = A * B + C. They are optimized for specific, lower-precision data types to maximize throughput:
- FP16 input with FP32 accumulation (HMMA): Common for training and inference, providing a balance of speed and numerical range.
- INT8 input with INT32 accumulation (IMMA): Used for quantized inference, offering the highest throughput for deployed models.
- BFLOAT16 (Brain Floating Point): Supported in newer architectures (Ampere+), offering the dynamic range of FP32 with the memory footprint of FP16, improving training stability. This mixed-precision approach allows for faster computation and reduced memory bandwidth compared to standard CUDA cores running full FP32 operations.
Architectural Integration (Volta to Hopper)
Tensor Cores are integrated into the GPU's Streaming Multiprocessor (SM) and have evolved across architectures:
- Volta (V100): Introduced Tensor Cores supporting FP16.
- Turing (T4, RTX): Added INT8 and INT4 precision for inference.
- Ampere (A100, A10, A30): Introduced sparse Tensor Cores, which can skip computations on zero-valued weights (using a 2:4 sparsity pattern) for up to 2x throughput for eligible models. Also added support for BFLOAT16 and Tensor Float 32 (TF32).
- Hopper (H100): Introduced the Transformer Engine, which dynamically selects between FP8 and FP16 precision during training to accelerate Transformer models automatically. Each generation increases the number of Tensor Cores per SM and refines their supported data types and capabilities.
Performance Throughput & FLOPs
Tensor Cores deliver dramatically higher peak FLOPS (Floating Point Operations Per Second) for matrix math than CUDA cores. For example:
- An NVIDIA A100 GPU (Ampere) has 432 Tensor Cores and can deliver 312 TFLOPS of FP16 MMA performance with sparsity, compared to ~19.5 TFLOPS for FP32 on its CUDA cores.
- This throughput is achieved through extreme data parallelism and dedicated data paths within the SM that are hardwired for the MMA operation, avoiding the overhead of more general-purpose instruction scheduling. The performance gain is most pronounced in layers dominated by large matrix multiplications, such as fully connected and convolutional layers in CNNs, and the attention and feed-forward blocks in Transformers.
Software Activation & Libraries
Tensor Cores are not used automatically; software must be explicitly written or compiled to target them. Key frameworks and libraries include:
- CUDA Libraries:
cuBLAS,cuDNN, andcuTensorprovide Tensor Core-accelerated implementations of linear algebra and deep learning operations. - Framework Integration: PyTorch (
torch.compile,torch.cuda.amp), TensorFlow, and JAX automatically generate Tensor Core code when using compatible data types (e.g.,torch.float16) and layer shapes. - Compiler Stacks: NVIDIA's TensorRT and the open-source Apache TVM perform graph-level optimizations, including operator fusion, and compile models down to kernels that heavily utilize Tensor Cores.
- Shape Requirements: For optimal performance, matrix dimensions (M, N, K) are often required to be multiples of 8 or 16, depending on the data type and architecture.
Primary Use Case: Transformer & LLM Acceleration
Tensor Cores are pivotal for the efficient training and inference of large language models and Transformer architectures:
- Attention Mechanism: The
Q * K^Tand subsequentAttention * Vmultiplications in self-attention are large matrix operations perfectly suited for Tensor Core acceleration. - Feed-Forward Networks: The up-projection and down-projection layers are dense matrix multiplications.
- Inference Optimization: Using INT8 Tensor Cores via post-training quantization (PTQ) or quantization-aware training (QAT) is a standard method to drastically reduce LLM inference latency and cost. Techniques like FlashAttention are also designed to maintain efficient Tensor Core utilization for very long sequences.
Relationship to Other Accelerators
Tensor Cores represent a specific design philosophy compared to other AI accelerators:
- vs. CUDA Cores: CUDA cores are general-purpose FP/INT cores. Tensor Cores are application-specific integrated circuits (ASICs) for MMA, offering far higher efficiency for that single, critical operation.
- vs. NPUs (Neural Processing Units): Dedicated NPUs (e.g., in Apple Silicon, Qualcomm Hexagon) are standalone accelerators with their own memory and control. Tensor Cores are heterogeneous compute elements embedded within a larger, general-purpose GPU, sharing resources with CUDA cores.
- vs. Google TPUs: TPUs are full-scale, domain-specific processors for neural networks with a different internal architecture (systolic array). Tensor Cores provide similar dense linear algebra acceleration but within the flexible, programmable environment of a GPU.
How Tensor Cores Work: The Matrix Math Engine
Tensor Cores are specialized processing units within modern NVIDIA GPUs designed to perform mixed-precision matrix multiply-and-accumulate operations at very high throughput, accelerating deep learning workloads.
A Tensor Core is a specialized execution unit within an NVIDIA GPU's Streaming Multiprocessor (SM) designed to perform matrix multiply-and-accumulate (MMA) operations at extreme throughput. Unlike traditional CUDA Cores that handle scalar or vector operations, Tensor Cores compute on small, fixed-size matrix tiles (e.g., 4x4 or 8x4). They are engineered for mixed-precision calculations, most commonly multiplying FP16 or BF16 matrices and accumulating the result into an FP32 or INT32 output to preserve numerical accuracy while maximizing speed and energy efficiency.
For on-device inference optimization, Tensor Cores are pivotal. They execute the dense linear algebra that forms the computational core of neural networks, such as the GEMM operations in fully connected layers or the convolutions in vision models. By offloading these intensive calculations to dedicated hardware, Tensor Cores drastically reduce inference latency and power consumption, enabling complex models to run efficiently on edge hardware. This hardware-aware acceleration is a cornerstone for deploying performant small language models and other AI workloads in resource-constrained environments.
Tensor Core Supported Data Types and Performance
This table compares the mixed-precision matrix operation support and theoretical peak throughput (in TeraFLOPS) for Tensor Cores across major NVIDIA GPU architectures, highlighting the evolution of data types for deep learning inference and training.
| Data Type / Feature | Volta (V100) | Ampere (A100) | Hopper (H100) | Blackwell (B100/B200) |
|---|---|---|---|---|
FP64 (Double Precision) | 7.8 TFLOPS | 19.5 TFLOPS | 34 TFLOPS |
|
FP32 (Single Precision) | 15.7 TFLOPS | 19.5 TFLOPS | 67 TFLOPS |
|
Tensor Float 32 (TF32) | 156 TFLOPS | 989 TFLOPS |
| |
FP16/BF16 (w/ FP32 Accumulate) | 125 TFLOPS | 312 TFLOPS | 1979 TFLOPS |
|
FP8 (w/ FP16 Accumulate) | 3958 TFLOPS |
| ||
INT8 (w/ INT32 Accumulate) | 624 TOPS | 3958 TOPS |
| |
INT4 (w/ INT32 Accumulate) | 7916 TOPS |
| ||
Sparsity Support (2:4) | ||||
Transformer Engine (Dynamic FP8) |
Primary Applications and Impact
Tensor Cores are specialized hardware units within modern NVIDIA GPUs designed to accelerate the fundamental matrix operations underpinning deep learning. Their impact is most pronounced in applications demanding high computational throughput for mixed-precision linear algebra.
High-Performance Model Training
During the training phase, Tensor Cores accelerate the forward and backward passes, as well as the weight update steps, when using mixed precision. This allows researchers and engineers to train larger models or conduct more experiments within the same time and power budget.
- Key Technique: Automatic Mixed Precision (AMP) leverages Tensor Cores by using FP16 for compute-intensive operations while maintaining FP32 master weights for numerical stability.
- Impact: Can provide up to 3x speedup for training workloads compared to using FP32 on standard CUDA cores alone.
Enabling Real-Time Computer Vision
For applications like autonomous vehicles, robotics, and augmented reality, Tensor Cores are critical for executing complex vision models with strict latency requirements. They accelerate the convolutional layers in models like ResNet, EfficientNet, and vision Transformers (ViTs).
- Key Impact: Makes high-accuracy, low-latency object detection, segmentation, and classification feasible on edge devices like the NVIDIA Jetson platform.
- Use Case: Processing multiple high-resolution camera feeds simultaneously in a self-driving car's perception stack.
Driving Hardware-Software Co-Design
The existence of Tensor Cores influences how neural network architectures and algorithms are designed. Developers and researchers now co-design models with these hardware capabilities in mind to extract maximum performance.
- Architectural Influence: Encourages the use of operations that map well to matrix units (e.g., standard convolutions over depthwise-separable when throughput is the goal).
- Algorithmic Innovation: Techniques like FlashAttention, quantization-aware training (QAT), and pruning are developed with the goal of creating workloads that are optimal for Tensor Core execution.
Frequently Asked Questions
Essential questions about Tensor Cores, NVIDIA's specialized hardware units for accelerating matrix operations fundamental to deep learning and high-performance computing.
Tensor Cores are specialized processing units integrated into modern NVIDIA GPUs (starting with the Volta architecture) designed to perform mixed-precision matrix multiply-and-accumulate (MMA) operations at extremely high throughput. A single Tensor Core can compute 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, or FP32 precision, performing 64 fused multiply-add (FMA) operations per clock cycle. This dedicated hardware bypasses the standard CUDA cores, which handle scalar and vector operations, to deliver a massive boost in FLOPs for the dense linear algebra that forms the computational backbone of neural network 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 within a broader hardware and software stack designed for high-performance AI inference. Understanding these related concepts is essential for optimizing on-device deployment.
Mixed Precision
A computational technique that uses different numerical precisions within a single model to balance speed, memory, and accuracy. Tensor Cores are specifically designed for mixed-precision matrix operations, typically performing:
- FP16 or BF16 for multiplication (high speed, reduced memory)
- FP32 for accumulation (maintains numerical precision)
This approach, central to Tensor Core function, allows deep learning models to train and infer faster while maintaining stability.
GEMM Optimization
The process of maximizing performance for General Matrix Multiply (GEMM) operations, the foundational computation accelerated by Tensor Cores. Optimization involves:
- Tiling: Partitioning matrices to fit into fast on-chip memory (SRAM/cache).
- Vectorization: Using SIMD (Single Instruction, Multiple Data) instructions.
- Assembly-Level Tuning: Hand-coded kernels for specific microarchitectures (e.g., NVIDIA's Ampere, Hopper).
Tensor Cores implement these optimizations in hardware, providing peak throughput for deep learning workloads.
Quantization
A model compression technique that reduces the numerical precision of weights and activations to accelerate inference on hardware like Tensor Cores. Key methods include:
- Post-Training Quantization (PTQ): Converts a pre-trained FP32 model to INT8 using calibration data.
- Quantization-Aware Training (QAT): Simulates quantization during training for higher accuracy.
Tensor Cores provide native support for INT8, FP16, and BF16 precision, making quantized models execute with extreme efficiency.
Compute Graph
A directed acyclic graph (DAG) representation of a neural network where nodes are operations (ops) and edges are data tensors. For Tensor Core optimization:
- Frameworks like TensorRT and PyTorch compile models into an optimized compute graph.
- The graph is analyzed for fusion opportunities to create larger, Tensor Core-friendly operations.
- Memory access patterns are scheduled to minimize data movement and maximize Tensor Core occupancy.
Efficient graph compilation is critical for feeding Tensor Cores with sustained workloads.
Neural Processing Unit (NPU)
A dedicated hardware accelerator for neural network inference, commonly found in mobile SoCs (e.g., Apple Neural Engine, Qualcomm Hexagon). Compared to Tensor Cores:
- NPUs: Specialized for extreme power efficiency on edge devices, often using fixed-function units.
- Tensor Cores: General-purpose matrix accelerators within high-performance GPUs, programmable via CUDA.
Both represent the industry shift towards domain-specific architectures for AI, but target different segments of the performance-power spectrum.

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