]> granicus.if.org Git - clang/commit
[CUDA] Use all 64 bits of GUID in __nv_module_id
authorArtem Belevich <tra@google.com>
Fri, 5 Oct 2018 18:39:58 +0000 (18:39 +0000)
committerArtem Belevich <tra@google.com>
Fri, 5 Oct 2018 18:39:58 +0000 (18:39 +0000)
commit52d4fabea811bf965104a5f6e8f22a55f08b1f03
tree5fe1f6135d77b6d5136c2f57c29efa53eb0857ed
parenta42b1d8f647c28ed6050fc59ec2c4df1961c8143
[CUDA] Use all 64 bits of GUID in __nv_module_id

getGUID() returns an uint64_t and "%x" only prints 32 bits of it.
Use PRIx64 format string to print all 64 bits.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343875 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCUDANV.cpp