[clang] [llvm] [openmp] [PGO][OpenMP] Instrumentation for GPU devices (PR #76587)
Gheorghe-Teodor Bercea via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 28 09:52:31 PDT 2024
doru1004 wrote:
Yes of course:
```
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=~/rocm/trunk_1.0 \
-DLLVM_ENABLE_PROJECTS="clang;lld;llvm;clang-tools-extra;compiler-rt;flang" \
-DLLVM_LIT_ARGS="-vv --show-unsupported --show-xfail -j 32" \
-DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" \
-DLLVM_ENABLE_ASSERTIONS=ON \
-DLIBOMPTARGET_ENABLE_DEBUG=ON \
-DPACKAGE_VENDOR="AMD" \
-DCLANG_DEFAULT_LINKER=lld \
-DLLVM_ENABLE_RUNTIMES="openmp;offload" \
-DRUNTIMES_amdgcn-amd-amdhsa_LLVM_ENABLE_RUNTIMES=libc \
-DLLVM_RUNTIME_TARGETS="default;amdgcn-amd-amdhsa" \
-DBUILD_SHARED_LIBS=ON \
../llvm -GNinja
```
https://github.com/llvm/llvm-project/pull/76587
More information about the cfe-commits
mailing list