[PATCH] D16097: [CUDA] Add explicit mapping from sm_XX to compute_YY.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 12 14:19:21 PST 2016


jlebar updated this revision to Diff 44673.
jlebar added a comment.

Use llvm::StringSwitch instead of a sequence of if statements.


http://reviews.llvm.org/D16097

Files:
  include/clang/Driver/Action.h
  lib/Driver/Action.cpp
  test/Driver/cuda-bad-arch.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16097.44673.patch
Type: text/x-patch
Size: 4198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160112/c33aa345/attachment-0001.bin>


More information about the cfe-commits mailing list