moat-cuda-to-rocm

Installation
SKILL.md

CUDA to ROCm/HIP

Accumulated across about a hundred real ports. This file routes; the knowledge is in references/, one topic per file, loaded only when you need it.

Most porting bugs are not in symbol names. Hipify handles the renaming. The bugs are semantic differences where AMD is strict and CUDA is lenient. Most surface at runtime on a build that compiled cleanly, but a clean hipify is not a clean build either: hipify leaves literals and types alone, so some idioms (a 32-bit *_sync mask is the common one) hipify without complaint and then fail to compile under HIP.

Naming: ROCm or HIP?

  • HIP is the programming model: the kernel dialect plus the hipXxx runtime API, the analogue of CUDA C++ and the CUDA runtime.
  • ROCm is the platform: compiler, runtime, driver and the roc*/hip* libraries, the analogue of the CUDA Toolkit.
Installs
450
Repository
amd/skills
GitHub Stars
525
First Seen
Nov 13, 2026