[PATCH] D129655: [CUDA] Allow the new driver to compile CUDA in non-RDC mode

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 13 13:07:51 PDT 2022


tra accepted this revision.
tra added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:7009
+  // Host-side offloading compilation receives all device-side outputs. Include
+  // them in the host compilation depending on the target.
   if ((IsCuda || IsHIP) && CudaDeviceInput) {
----------------
I think more details/history would be helpful here. Unlike you and me, the future readers will have little to no context to understand why we do things three different ways here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129655



More information about the cfe-commits mailing list