Adds missing descriptors and mappings for CUDA 11.4 and older. Also adds missing sub-target features for PTX 7.4 and older.
Authored-by: Steffen Larsen <steffen.larsen@codeplay.com>
Paths
| Differential D107054
[Clang][CUDA] Add descriptors, mappings, and features for missing CUDA and PTX versions ClosedPublic Authored by steffenlarsen on Jul 29 2021, 3:47 AM.
Details
Summary Adds missing descriptors and mappings for CUDA 11.4 and older. Also adds missing sub-target features for PTX 7.4 and older. Authored-by: Steffen Larsen <steffen.larsen@codeplay.com>
Diff Detail Event TimelineHerald added subscribers: dexonsmith, hiraditya, yaxunl, jholewinski. · View Herald TranscriptJul 29 2021, 3:47 AM Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 29 2021, 3:47 AM
steffenlarsen added inline comments.
Comment Actions @tra, ping. Comment Actions I think this patch has been obsoleted by https://reviews.llvm.org/D113249 which has already landed. My apologies for letting the patch slip through the cracks. This revision is now accepted and ready to land.Nov 18 2021, 2:10 PM steffenlarsen marked an inline comment as done. Comment Actions
No harm, no foul! Thank you for pointing to the new patch. I agree, it seems that these changes are obsolete so I'll close this. :)
Revision Contents
Diff 362700 clang/include/clang/Basic/BuiltinsNVPTX.def
clang/include/clang/Basic/Cuda.h
clang/lib/Basic/Cuda.cpp
clang/lib/Basic/Targets/NVPTX.cpp
clang/lib/Driver/ToolChains/Cuda.cpp
llvm/lib/Target/NVPTX/NVPTX.td
llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
|
You need to pop new macros here.