# CUDA Kernel

- **Canonical URL:** https://getaimath.com/dictionary/cuda-kernel/
- **Topics:** [AI Infrastructure & Runtime](https://getaimath.com/dictionary/category/ai-infrastructure-and-runtime/)
- **Last updated:** 2026-11-25

## What is CUDA Kernel?

**In one sentence:** A CUDA kernel is a GPU program written with NVIDIA's CUDA that runs in parallel across thousands of GPU threads.

Each thread does a small piece of the work, like one part of a matrix. Writing efficient CUDA kernels takes deep knowledge of GPU memory and cores.

![AI Runtime Engines: Sharing the Oven So Nobody Waits in Line — Simple cartoon showing 4 users ordering at a coffee counter: instead of making everyone wait behind one huge order, a smart Runtime Engine serves all 4 side-by-side at the same time.](https://getaimath.com/diagrams/ai-infrastructure-and-runtime.png)
*Napkin Diagram (AI Infrastructure & Runtime): A runtime engine is the traffic controller that lets one AI chip serve dozens of people at once without anyone getting stuck.*

## What is an example of CUDA Kernel?

A custom CUDA kernel can speed up 4-bit dequantization and multiplication.

## Why does CUDA Kernel matter?

CUDA kernels are the low-level engine behind most AI on NVIDIA GPUs.

## Related Concepts

- [Kernel](https://getaimath.com/dictionary/kernel/): In AI computing, a kernel is a small, highly optimized program that runs one operation on a GPU or other accelerator.
- [Metal](https://getaimath.com/dictionary/metal/): Metal is Apple's graphics and computing platform that lets software use the GPU on Macs, iPhones and iPads.
- [Quantization Backend](https://getaimath.com/dictionary/quantization-backend/): A quantization backend is the software that implements a particular quantization format and runs quantized models.
- [Vulkan](https://getaimath.com/dictionary/vulkan/): Vulkan is a cross-platform graphics and compute standard that works on GPUs from many companies.
- [Latency](https://getaimath.com/dictionary/latency/): Latency is the delay between asking for something and getting a response.
- [ROCm](https://getaimath.com/dictionary/rocm/): ROCm is AMD's software platform for running AI and other computing work on AMD GPUs, similar to NVIDIA's CUDA.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/cuda-kernel/)
