euse -i amd-llvmeuse -E amd-llvmeuse -D amd-llvm| Package | Local Description (use.local.desc) | Metadata Description (metadata.xml) |
|---|---|---|
| dev-util/hipcc | - | Point hipcc at <pkg>llvm-core/rocm-llvm</pkg>, AMD's LLVM fork, instead of the system clang. This makes "hipconfig --hipclangpath" report AMD's compiler, which is what rocm.eclass's rocm_use_clang() reads, so every ROCm library built afterwards uses it. Required to build the ROCm math libraries: they use bf16 WMMA intrinsic signatures and generate AMDGPU assembly that a vanilla LLVM rejects. |