[PATCH] D78655: [CUDA][HIP] Let non-caputuring lambda be host device

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 22 13:59:46 PDT 2020


yaxunl updated this revision to Diff 272539.
yaxunl added a comment.

Only make non-capturing lambda host and 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/lib/Sema/SemaOverload.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.272539.patch
Type: text/x-patch
Size: 12180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200622/36b74d96/attachment-0001.bin>


More information about the cfe-commits mailing list