Stack Overflow Offload Question

Anyone care to help this person?

Do I have to build clang-11 from source on Ubuntu 18.04 to have OpenMP GPU target offload?

– Jim
James Cownie <>
Mob: +44 780 637 7146

I think we have to build from the source to enable GPU offloading. I’ve answered the question and provide a building script.

Best regards

Anjia Wang

I think using Spack is easier, thanks to Tom et al at LLNL.

% spack install llvm@master+cuda+omp_debug cuda_arch=70