]> granicus.if.org Git - clang/commit
[CUDA] Place GPU binary into .nv_fatbin section and align it by 8.
authorArtem Belevich <tra@google.com>
Fri, 12 Aug 2016 18:44:01 +0000 (18:44 +0000)
committerArtem Belevich <tra@google.com>
Fri, 12 Aug 2016 18:44:01 +0000 (18:44 +0000)
commit647e473998c75bcb3529a86878a42b4c90ab7d23
treec43895b047beb8a6c540b4f2cd5df319318b97df
parent5ce39e34c75bb51dbff07e3daa9d032f8d2f08fc
[CUDA] Place GPU binary into .nv_fatbin section and align it by 8.

This matches the way nvcc encapsulates GPU binaries into host object file.
Now cuobjdump can deal with clang-compiled object files.

Differential Revision: https://reviews.llvm.org/D23429

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278549 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCUDANV.cpp
test/CodeGenCUDA/device-stub.cu