ROCm LLVM compiler infrastructure#
The AMD llvm-project is a fork of llvm/llvm-project. The AMD code is open and hosted at ROCm/llvm-project.
The documentation is structured as follows:
ROCm includes multiple compilers of varying origins and purposes as described in the following table:
| Name | Description | 
| 
 | Clang/LLVM-based compiler that is part of rocm-llvm package. The source code is available at ROCm/llvm-project. | 
| 
 | Closed-source clang-based compiler that includes additional CPU optimizations. Offered as part of ROCm via the rocm-llvm-alt package. For details, see https://developer.amd.com/amd-aocc. | 
| 
 | Another name for the  | 
| 
 | Tools used to automatically translate CUDA source code into portable HIP C++, including  | 
| 
 | HIP compiler driver utility that invokes  | 
AMD ROCm also provides additional open-source utilities and libraries for building GPU code located in the llvm-project/amd directory:
| Name | Description | 
| 
 | The Code Object Manager API, designed to simplify linking, compiling, and inspecting code objects. See the llvm-project/amd/comgr/README for more information. | 
| 
 | The sources and CMake build system for a set of AMD-specific device-side language runtime libraries. See the llvm-project/amd/device-libs/README for more information. |