Figure 2: ROCm’s HIP format lets the vendor write the code once and compile it for different hardware environments.