[PATCH] D78655: [CUDA][HIP] Let lambda be host device by default
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 30 13:36:26 PDT 2020
yaxunl updated this revision to Diff 274589.
yaxunl retitled this revision from "[CUDA][HIP] Let non-caputuring lambda be host device" to "[CUDA][HIP] Let lambda be host device by default".
yaxunl edited the summary of this revision.
yaxunl added a comment.
Added diagnostics for capturing host variables on device lambda and made lambda host device by default.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78655/new/
https://reviews.llvm.org/D78655
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaCUDA.cpp
clang/lib/Sema/SemaLambda.cpp
clang/test/CodeGenCUDA/lambda.cu
clang/test/SemaCUDA/Inputs/cuda.h
clang/test/SemaCUDA/lambda.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78655.274589.patch
Type: text/x-patch
Size: 12285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200630/37db0cc1/attachment-0001.bin>
More information about the cfe-commits
mailing list