NVCC compat. Fixes bug 30567.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D25105
[CUDA] Make lambdas inherit __host__ and __device__ attributes from the scope in which they're created. ClosedPublic Authored by jlebar on Sep 30 2016, 9:36 AM.
Details Summary NVCC compat. Fixes bug 30567.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 30 2016, 10:19 AM Closed by commit rL282880: [CUDA] Make lambdas inherit __host__ and __device__ attributes from the scope… (authored by jlebar). · Explain WhySep 30 2016, 10:23 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 73089 cfe/trunk/include/clang/Sema/Sema.h
cfe/trunk/lib/Sema/SemaCUDA.cpp
cfe/trunk/lib/Sema/SemaLambda.cpp
cfe/trunk/test/SemaCUDA/implicit-device-lambda-hd.cu
cfe/trunk/test/SemaCUDA/implicit-device-lambda.cu
|