[all-commits] [llvm/llvm-project] 33386b: [CUDA] Simplify GPU variant handling. NFC.
Artem Belevich via All-commits
all-commits at lists.llvm.org
Wed Apr 8 11:21:31 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 33386b20aa82c73e28b871cfa35c89a3808c9f92
https://github.com/llvm/llvm-project/commit/33386b20aa82c73e28b871cfa35c89a3808c9f92
Author: Artem Belevich <tra at google.com>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M clang/include/clang/Basic/Cuda.h
M clang/lib/Basic/Cuda.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
Log Message:
-----------
[CUDA] Simplify GPU variant handling. NFC.
Instead of hardcoding individual GPU mappings in multiple functions, keep them
all in one table and use it to look up the mappings.
We also don't care about 'virtual' architecture much, so the API is trimmed down
down to a simpler GPU->Virtual arch name lookup.
Differential Revision: https://reviews.llvm.org/D77665
Commit: a9627b7ea7e2b47488188cb1d80a23b24a8066b2
https://github.com/llvm/llvm-project/commit/a9627b7ea7e2b47488188cb1d80a23b24a8066b2
Author: Artem Belevich <tra at google.com>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M clang/include/clang/Basic/Cuda.h
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/Targets/NVPTX.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M llvm/lib/Target/NVPTX/NVPTX.td
Log Message:
-----------
[CUDA] Add partial support for recent CUDA versions.
Generate PTX using newer versions of PTX and allow using sm_80 with CUDA-11.
None of the new features of CUDA-10.2+ have been implemented yet, so using these
versions will still produce a warning.
Differential Revision: https://reviews.llvm.org/D77670
Commit: d2e498b1725dd7b792c061387ff76df71cd7728a
https://github.com/llvm/llvm-project/commit/d2e498b1725dd7b792c061387ff76df71cd7728a
Author: Artem Belevich <tra at google.com>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M clang/test/Driver/cuda-detect.cu
Log Message:
-----------
[CUDA] Improve testing of libdevice detection.
Added new testcases for libdevice in CUDA-9+ and removed unused checks.
Differential Revision: https://reviews.llvm.org/D77688
Compare: https://github.com/llvm/llvm-project/compare/d51b38f1b3a3...d2e498b1725d
More information about the All-commits
mailing list