# ROCm

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

## What is ROCm?

**In one sentence:** ROCm is AMD's software platform for running AI and other computing work on AMD GPUs, similar to NVIDIA's CUDA.

It lets frameworks like PyTorch use AMD GPUs. Its support has grown, making AMD a stronger option for AI.

![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 ROCm?

Training a model with PyTorch on AMD MI300X GPUs uses ROCm.

## Why does ROCm matter?

ROCm gives the AI world an alternative to NVIDIA.

## Related Concepts

- [Vulkan](https://getaimath.com/dictionary/vulkan/): Vulkan is a cross-platform graphics and compute standard that works on GPUs from many companies.
- [OpenCL](https://getaimath.com/dictionary/opencl/): OpenCL is an older open standard for running parallel computations on many kinds of processors, including GPUs and CPUs.
- [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.
- [MLX](https://getaimath.com/dictionary/mlx/): MLX is Apple's open-source machine learning framework built for Apple silicon chips.
- [CUDA Kernel](https://getaimath.com/dictionary/cuda-kernel/): A CUDA kernel is a GPU program written with NVIDIA's CUDA that runs in parallel across thousands of GPU threads.
- [llama.cpp](https://getaimath.com/dictionary/llama-cpp/): llama.cpp is a popular open-source program for running large language models efficiently on ordinary computers.

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