This revision was automatically updated to reflect the committed changes.
Closed by commit rL324878: [CUDA] Add option to generate relocatable device
code (authored by Hahnfeld, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D42921?vs=
Hahnfeld added inline comments.
Comment at: include/clang/Driver/Options.td:572
+ HelpText<"Generate relocatable device code, also known as separate
compilation mode.">;
+def fno_cuda_rdc : Flag<["-"], "fno-cuda-rdc">;
def dA : Flag<["-"], "dA">, Group;
tra wr
Hahnfeld updated this revision to Diff 133817.
Hahnfeld marked an inline comment as done.
Hahnfeld added a comment.
Hide help for `-fcuda-rdc` until support is ready.
https://reviews.llvm.org/D42921
Files:
include/clang/Basic/LangOptions.def
include/clang/Driver/Options.td
lib/Driver/Tool
tra accepted this revision.
tra added inline comments.
This revision is now accepted and ready to land.
Comment at: include/clang/Driver/Options.td:572
+ HelpText<"Generate relocatable device code, also known as separate
compilation mode.">;
+def fno_cuda_rdc : Flag<["-"], "fno
Hahnfeld created this revision.
Hahnfeld added reviewers: jlebar, tra.
Herald added a subscriber: cfe-commits.
Hahnfeld added a dependency: D42920: [CUDA] Fix test cuda-external-tools.cu.
Hahnfeld added a reviewer: hfinkel.
As a first step, pass '-c/--compile-only' to ptxas so that it
doesn't comp