aomp icon indicating copy to clipboard operation
aomp copied to clipboard

How do I add openmp support when I have built hipcc

Open JiaJiDuan opened this issue 2 years ago • 2 comments
trafficstars

Hi,I have built all the hipcc related libraries from tag rocm-5.7.0(llvm-project ROCm-Device-Libs ROCm-CompilerSupport ROCT-Thunk-Interface ROCR-Runtime HIPCC clr). I want to add openmp support but don't want to build from scratch.
So what should I do.
My current cmake configuration for llvm-project is cmake -S llvm -B build -G Ninja -DCMAKE_INSTALL_PREFIX=$ROCM_PATH -DLLVM_TARGETS_TO_BUILD="AMDGPU;X86" -DLLVM_ENABLE_PROJECTS="llvm;clang;lld;compiler-rt;clang-tools-extra" -DCMAKE_BUILD_TYPE=Release

JiaJiDuan avatar Oct 17 '23 12:10 JiaJiDuan