NVCC compat. Fixes bug 30567.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 24 Build 24: arc lint + arc unit
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 73073 clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaCUDA.cpp
clang/lib/Sema/SemaLambda.cpp
clang/test/SemaCUDA/implicit-device-lambda-hd.cu
clang/test/SemaCUDA/implicit-device-lambda.cu
|