AI engineering glossary · Inference serving optimisation

What is GPU kernel?

GPU kernel (also called CUDA kernel): A function that runs on the GPU, executed in parallel by thousands of threads. A model's forward pass is a sequence of kernels; launching many tiny ones wastes time, which motivates combining them.

Level: intermediateTopic: Inference serving optimisation

GPU kernel: an example

A softmax and a matrix multiplication are two separate kernels unless fused.

Related terms

More Inference serving optimisation terms

Where you learn it

GPU kernel is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.