[PATCH] D95558: [NFC][CUDA] Refactor registering device variable

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 27 13:47:42 PST 2021


yaxunl created this revision.
yaxunl added a reviewer: tra.
yaxunl requested review of this revision.

Extract registering device variable to CUDA runtime codegen function since it
will be called in multiple places.


https://reviews.llvm.org/D95558

Files:
  clang/lib/CodeGen/CGCUDANV.cpp
  clang/lib/CodeGen/CGCUDARuntime.h
  clang/lib/CodeGen/CodeGenModule.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95558.319657.patch
Type: text/x-patch
Size: 10014 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210127/d80849cb/attachment.bin>


More information about the cfe-commits mailing list