This is a fix for the problem reported here:
https://lists.llvm.org/pipermail/llvm-dev/2021-March/149529.html
That is, the target information was missing when we embedded bitcode and
that caused the NVPTX backend to fail.
Differential D100609
[Offload][OpenMP][CUDA] Allow fembed-bitcode for device offload jdoerfert on Apr 15 2021, 4:53 PM. Authored by
Details This is a fix for the problem reported here: That is, the target information was missing when we embedded bitcode and
Diff Detail
Unit Tests Event TimelineComment Actions I'm not really sure about the test, my local setup didn't have CUDA attached properly but this should work in principle ;)
|
clang-format: please reformat the code