[PATCH] D130193: [LLVM][Docs] Document the new driver for CUDA compilation

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 14:42:23 PDT 2022


jhuber6 added a comment.

In D130193#3666827 <https://reviews.llvm.org/D130193#3666827>, @tra wrote:

> I think, as phrased, the section mixes two somewhat independent things -- new driver and RDC compilation as one of the features the new driver makes possible. I'd suggest restructuring the text along the lines of:
>
> - Using new driver for CUDA/HIP/... compilation. Describe the general changes, improvements to the way offload binaries are compiled, embedded, including downsides and caveats,
>
> - Using new driver for RDC compilation Explain what RDC is (essentially, each TU compiles to .o, same as the host). Describe the default (each TU produces fully linked executable), and the current limitation (clang can compile to .o, but requires final linking and glue generation to be handled by external build tools). Maybe, describe how to do intermediate linking to a full GPU executable when one builds a library, as we've discussed via emails.
>
> - Describe other use cases like LTO

So I guess I should split this between several subsections, or maybe make a new section for it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130193



More information about the llvm-commits mailing list