[PATCH] D140158: [CUDA] Allow targeting NVPTX directly without a host toolchain

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 15 15:22:55 PST 2022


jdoerfert added a comment.

In D140158#3999716 <https://reviews.llvm.org/D140158#3999716>, @jhuber6 wrote:

> Also do you think I should include the CUDA headers in with this? We can always get rid of them with `nogpuinc` or similar if they're not needed. The AMDGPU compilation still links in the device libraries so I'm wondering if we should at least be consistent.

For OpenMP at least we want this mode to include the device runtime and the respective native runtimes as well (except if we do LTO than both are included late).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140158/new/

https://reviews.llvm.org/D140158



More information about the cfe-commits mailing list