Glossary/ Runtime & Tooling

ROCm

ROCm is AMD's open-source GPU computing platform designed as a CUDA alternative for running AI workloads on AMD GPUs.

ROCm, short for Radeon Open Compute, is AMD's open-source software stack for GPU computing. It aims to be a direct competitor to NVIDIA's CUDA platform, enabling developers to run deep learning and LLM workloads on AMD GPUs such as the MI250, MI300X, and Radeon RX series. ROCm includes a HIP (Heterogeneous Interface for Portability) runtime that allows code written for CUDA to be ported with minimal changes, often using automated conversion tools. For AI builders, ROCm supports popular frameworks including PyTorch, TensorFlow, and ONNX Runtime, and it has its own optimized libraries like rocBLAS (BLAS), rocFFT (FFT), and MIOpen (deep learning primitives). In the LLM ecosystem, tools like vLLM and llama.cpp have ROCm builds, though performance and feature parity with CUDA can vary. ROCm is particularly relevant for cost-sensitive deployments where AMD hardware offers better price-to-performance ratios. The platform supports features like FP16, BF16, and INT8 quantization, and on newer GPUs it offers matrix core acceleration analogous to NVIDIA's tensor cores. ROCm's open-source nature allows community contributions and transparency. However, its ecosystem lags behind CUDA in terms of library maturity, debugging tools, and adoption. Installation can be complex on Linux distributions, and Windows support is limited. AI builders should verify that their specific model and inference engine have ROCm compatibility before committing to AMD hardware.

Common misconception

ROCm is not a drop-in replacement for CUDA; many CUDA-optimized kernels require manual tuning or use of HIP ports to run efficiently on AMD hardware.

Canonical reference
https://rocm.docs.amd.com/

Related terms

Concepts you'll usually encounter alongside this one.

Mentioned in tutorials

Hands-on guides that put this concept to work.

VRAM Calculator

See how this term affects your memory budget.

MyAI Bench

Real numbers, real chips, every workload.

Buying guides

Picks for builders, by use case.

Stay Ahead of the AI Curve

Get weekly AI hardware news, benchmark updates, and deals in your inbox. Founding-subscriber list, be one of the first.

✓ No spam✓ Weekly digest✓ Unsubscribe anytime