diff options
author | Justin Lebar <jlebar@google.com> | 2016-07-06 21:21:39 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-07-06 21:21:39 +0000 |
commit | 629076178a5eed7f6650eb429a61cc0653be9924 (patch) | |
tree | a83dc16f3a21cd2e1444fa689512f1c5e1d31461 /lldb/packages/Python/lldbsuite/test/expression_command/macros/main.cpp | |
parent | ef1aaac3ccb01e43fb02584a5a1d08faf822189f (diff) | |
download | bcm5719-llvm-629076178a5eed7f6650eb429a61cc0653be9924.tar.gz bcm5719-llvm-629076178a5eed7f6650eb429a61cc0653be9924.zip |
[CUDA] Add utility functions for dealing with CUDA versions / architectures.
Summary:
Currently our handling of CUDA architectures is scattered all around
clang. This patch centralizes it.
A key advantage of this centralization is that you can now write a C++
switch on e.g. CudaArch and get a compile error if you don't handle one
of the enum values.
Reviewers: tra
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D21867
llvm-svn: 274681
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/macros/main.cpp')
0 files changed, 0 insertions, 0 deletions