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?
https://stackoverflow.com/q/64783378/1900441?sem=2

– Jim
James Cownie <jcownie@gmail.com>
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.

https://gist.github.com/ouankou/27c1fc22aee9125190492ea126125249

Best regards

Anjia Wang

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

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