[PATCH] D91088: [CUDA][HIP] Fix capturing reference to host variable
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 11 05:45:58 PST 2020
yaxunl updated this revision to Diff 304494.
yaxunl edited the summary of this revision.
yaxunl added a comment.
added diagnosing referencing host variable in device functions
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91088/new/
https://reviews.llvm.org/D91088
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/CodeGen/CGExpr.cpp
clang/lib/Sema/SemaCUDA.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/CodeGenCUDA/function-overload.cu
clang/test/CodeGenCUDA/lambda-reference-var.cu
clang/test/SemaCUDA/device-use-host-var.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91088.304494.patch
Type: text/x-patch
Size: 17424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201111/2e43305c/attachment.bin>
More information about the cfe-commits
mailing list