[PATCH] D42921: [CUDA] Add option to generate relocatable device code
    Jonas Hahnfeld via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Mon Feb  5 11:23:05 PST 2018
    
    
  
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 complain about references to external function. This
will successfully generate object files, but they won't work
at runtime because the registration routines need to adapted.
Repository:
  rC Clang
https://reviews.llvm.org/D42921
Files:
  include/clang/Basic/LangOptions.def
  include/clang/Driver/Options.td
  lib/Driver/ToolChains/Clang.cpp
  lib/Driver/ToolChains/Cuda.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/Driver/cuda-external-tools.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42921.132865.patch
Type: text/x-patch
Size: 9178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180205/17390a84/attachment-0001.bin>
    
    
More information about the cfe-commits
mailing list