[PATCH] D61474: [CUDA][Clang][Bugfix] Add missing CUDA 9.2 case

Phabricator via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 3 10:59:40 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rC359910: [CUDA][Clang][Bugfix] Add missing CUDA 9.2 case (authored by gbercea, committed by ).

Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61474/new/

https://reviews.llvm.org/D61474

Files:
  lib/Driver/ToolChains/Cuda.cpp


Index: lib/Driver/ToolChains/Cuda.cpp
===================================================================
--- lib/Driver/ToolChains/Cuda.cpp
+++ lib/Driver/ToolChains/Cuda.cpp
@@ -656,6 +656,9 @@
     case CudaVersion::CUDA_100:
       PtxFeature = "+ptx63";
       break;
+    case CudaVersion::CUDA_92:
+      PtxFeature = "+ptx61";
+      break;
     case CudaVersion::CUDA_91:
       PtxFeature = "+ptx61";
       break;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61474.198051.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190503/1c41adba/attachment.bin>


More information about the cfe-commits mailing list