[PATCH] D129655: [CUDA] Allow the new driver to compile CUDA in non-RDC mode
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 13 08:59:53 PDT 2022
jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, tra, JonChesterfield, yaxunl.
Herald added subscribers: mattd, carlosgalvezp.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.
The new driver primarily allows us to support RDC-mode compilations with
proper linking. This is not needed for non-RDC mode compilation, but we
still would like the new driver to be able to handle this mode so we can
transition away from the old driver in the future. This patch adds the
necessary code to support creating a fatbinary for CUDA code generation
as well as removing old assumptions and errors about RDC-mode with the
new driver.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D129655
Files:
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/lib/CodeGen/CGCUDANV.cpp
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/CodeGenCUDA/offloading-entries.cu
clang/test/Driver/cuda-omp-unsupported-debug-options.cu
clang/test/Driver/cuda-openmp-driver.cu
clang/test/Driver/cuda-phases.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129655.444293.patch
Type: text/x-patch
Size: 18219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220713/1d680715/attachment-0001.bin>
More information about the cfe-commits
mailing list