Hahnfeld added a comment. Currently trying to test, but
1. Offloading to the same target isn't supported (`x86_64-unknown-linux-gnu` as host and device) - this was working with `clang-omp` The produced IR isn't showing any calls to the target library and on linkage it complains: undefined reference to `.omp_offloading.img_start.x86_64-unknown-linux-gnu' undefined reference to `.omp_offloading.img_end.x86_64-unknown-linux-gnu' undefined reference to `.omp_offloading.entries_begin' undefined reference to `.omp_offloading.entries_end' undefined reference to `.omp_offloading.entries_begin' undefined reference to `.omp_offloading.entries_end' (btw: `clang-offload-bundler` saves the IR file to `$TMP` with `-S -emit-llvm`, this seems to be a bug - I had to use `--save-temps`) 2. I can't seem to figure out the target triple for NVIDIA GPUs. It should be `nvptx[64]-nvidia-cuda` which gives me include/llvm/Option/Option.h:101: const llvm::opt::Option llvm::opt::Option::getAlias() const: Assertion `Info && "Must have a valid info!"' failed. In `clang-omp` it was `nvptxsm_35-nvidia-cuda` but this is now invalid... http://reviews.llvm.org/D9888 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits