ROCm HIP
**ROCm HIP GPU Programming** is **an open-source GPU programming framework enabling portable code development targeting both AMD and NVIDIA GPUs through unified application interface — enabling development of platform-independent GPU code and simplifying cross-vendor GPU development**. The ROCm platform provides open-source GPU support for AMD graphics processors, complementing NVIDIA's proprietary CUDA ecosystem and enabling competitive open-source GPU computing platform. The HIP (Heterogeneous-Compute Interface for Portability) provides C++ syntax very similar to CUDA, enabling rapid porting of existing CUDA code to HIP with simple keyword translation (hipLaunchKernelGGL instead of <<< >>> kernel launch syntax). The HIP portability enables single codebase targeting both AMD GPUs via ROCm and NVIDIA GPUs via CUDA, with language features and library support carefully designed to map naturally to both platforms. The GPU code generation supports multiple backends including AMD GCN/RDNA instruction sets and NVIDIA PTX/SASS, with compiler infrastructure selecting appropriate code generation based on target hardware. The performance portability of HIP code is not guaranteed, requiring careful attention to differences in GPU architecture, cache organization, and instruction latency between platforms to achieve optimal performance on each. The library ecosystem in ROCm includes scientific computing libraries (rocBLAS, rocFFT) providing CUDA equivalent functionality with AMD GPU optimizations, enabling straightforward porting of applications using GPU-accelerated libraries. The community ecosystem around ROCm is rapidly growing, with increasing availability of HIP-portable applications and libraries supporting AMD GPU development. **ROCm HIP GPU programming provides platform-independent GPU development interface supporting both AMD and NVIDIA GPUs with portable high-performance code.**