This revision was automatically updated to reflect the committed changes.
Closed by commit rL352798: [CUDA] Propagate detected version of CUDA to cc1
(authored by tra, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D57487?vs=184416&id=
tra updated this revision to Diff 184416.
tra added a comment.
Addressed Justin's comments.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57487/new/
https://reviews.llvm.org/D57487
Files:
clang/include/clang/Basic/Cuda.h
clang/include/clang/Basic/TargetOptions.h
clang/lib/Basic/C
jlebar accepted this revision.
jlebar added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/include/clang/Basic/Cuda.h:108
+enum class CudaFeature {
+ CUDA_USES_NEW_LAUNCH,
+};
Should this enum be documented?
===
tra updated this revision to Diff 184412.
tra added a comment.
Updated the comment about SDKVersion use.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57487/new/
https://reviews.llvm.org/D57487
Files:
clang/include/clang/Basic/Cuda.h
clang/include/clang/Basic/TargetOptions.h
clan
tra created this revision.
tra added a reviewer: jlebar.
Herald added subscribers: bixia, sanjoy.
..and use it to control that parts of CUDA compilation
that depend on the specific version of CUDA SDK.
This patch has a placeholder for a 'new launch API' support
which is in a separate patch (I'll