Skip to content

Commit

Permalink
[CUDA] Bump the latest supported CUDA version to 11.4.
Browse files Browse the repository at this point in the history
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.

Differential Revision: https://reviews.llvm.org/D108248
  • Loading branch information
Artem-B committed Aug 23, 2021
1 parent 3db8e48 commit ce4545d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions clang/docs/ReleaseNotes.rst
Expand Up @@ -117,6 +117,12 @@ C++2b Feature Support
^^^^^^^^^^^^^^^^^^^^^
...

CUDA Language Changes in Clang
---------------------------

- Clang now supports CUDA versions up to 11.4.
- Default GPU architecture has been changed from sm_20 to sm_35.

Objective-C Language Changes in Clang
-------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion clang/include/clang/Basic/Cuda.h
Expand Up @@ -33,7 +33,7 @@ enum class CudaVersion {
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.
Expand Down

0 comments on commit ce4545d

Please sign in to comment.