[PATCH] D47394: [OpenMP][Clang][NVPTX] Replace bundling with partial linking for the OpenMP NVPTX device offloading toolchain

Gheorghe-Teodor Bercea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 29 11:10:51 PDT 2018


gtbercea added a comment.

In https://reviews.llvm.org/D47394#1114848, @sfantao wrote:

> Just to clarify one thing in my last comment:
>
> When I say that we didn't aim at having clang compatible with other compilers, I mean the OpenMP offloading descriptors, where all the variables and offloading entry points are. Of course we want to allow the resulting binaries to be compatible with linkers taking inputs of other compilers, so that you can have, e.g., OpenMP and CUDA supported in the same executable, even though working independently.


Today you will have trouble linking against a Clang object file in another compiler that doesn't know anything about the clang-offload-bundler.


Repository:
  rC Clang

https://reviews.llvm.org/D47394





More information about the cfe-commits mailing list