Authoritative Scope: package_scoped |
Distinct Packages: 1 |
Repository Package Instances: 1
euse -i amd-llvmeuse -E amd-llvmeuse -D amd-llvm| Repository | Package | Source Kind | Source File | Description |
|---|---|---|---|---|
| stuff | dev-util/hipcc | metadata.xml |
dev-util/hipcc/metadata.xml |
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. |
| Repository | Package | Observations | Versions | Local Description (use.local.desc) | Metadata Description (metadata.xml) |
|---|---|---|---|---|---|
| stuff | dev-util/hipcc | IUSE | 10.0.0, 10.2.0 | - | 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. |