[PATCH] [cuda] Include GPU binary into host object file and generate init/deinit code.
Artem Belevich
tra at google.com
Tue May 5 15:46:52 PDT 2015
Hi eliben, echristo,
Extracted from D8463 to separate codegen and driver changes.
- added -fcuda-include-gpubinary option to incorporate results of
device-side compilation into host-side one.
- generate code to register GPU binaries and associated kernels
with CUDA runtime and clean-up on exit.
- added test cases for init/deinit code generation.
Differential Revision: http://reviews.llvm.org/D8463
http://reviews.llvm.org/D9507
Files:
include/clang/Driver/CC1Options.td
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/CGCUDANV.cpp
lib/CodeGen/CGCUDARuntime.h
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenModule.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGenCUDA/device-stub.cu
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9507.24990.patch
Type: text/x-patch
Size: 18565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150505/23a20ea6/attachment.bin>
More information about the cfe-commits
mailing list