[PATCH] D108248: [CUDA] Bump the latest supported CUDA version to 11.4.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 17 14:59:10 PDT 2021


tra created this revision.
tra added reviewers: Hahnfeld, yaxunl.
Herald added subscribers: dexonsmith, bixia.
tra requested review of this revision.
Herald added a project: clang.

This should reduce the amount of noise issued by clang for the recent-ish  CUDA versions.

Clang still does not support all the features offered by NVCC, but is expected
to handle CUDA headers and produce binaries for all GPUs supported by NVCC.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108248

Files:
  clang/include/clang/Basic/Cuda.h


Index: clang/include/clang/Basic/Cuda.h
===================================================================
--- clang/include/clang/Basic/Cuda.h
+++ clang/include/clang/Basic/Cuda.h
@@ -33,7 +33,7 @@
   CUDA_112,
   CUDA_113,
   CUDA_114,
-  FULLY_SUPPORTED = CUDA_101,
+  FULLY_SUPPORTED = CUDA_114,
   PARTIALLY_SUPPORTED =
       CUDA_114, // Partially supported. Proceed with a warning.
   NEW = 10000,  // Too new. Issue a warning, but allow using it.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108248.367026.patch
Type: text/x-patch
Size: 457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210817/97d1adff/attachment.bin>


More information about the cfe-commits mailing list