mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[CUDA, NVPTX] Allow targeting sm_86 GPUs.
The patch only plumbs through the option necessary for targeting sm_86 GPUs w/o adding any new functionality. Differential Revision: https://reviews.llvm.org/D95974
This commit is contained in:
parent
2817246389
commit
6249886257
@ -57,6 +57,8 @@ def SM75 : SubtargetFeature<"sm_75", "SmVersion", "75",
|
||||
"Target SM 7.5">;
|
||||
def SM80 : SubtargetFeature<"sm_80", "SmVersion", "80",
|
||||
"Target SM 8.0">;
|
||||
def SM86 : SubtargetFeature<"sm_86", "SmVersion", "86",
|
||||
"Target SM 8.6">;
|
||||
|
||||
// PTX Versions
|
||||
def PTX32 : SubtargetFeature<"ptx32", "PTXVersion", "32",
|
||||
@ -83,6 +85,10 @@ def PTX65 : SubtargetFeature<"ptx65", "PTXVersion", "65",
|
||||
"Use PTX version 6.5">;
|
||||
def PTX70 : SubtargetFeature<"ptx70", "PTXVersion", "70",
|
||||
"Use PTX version 7.0">;
|
||||
def PTX71 : SubtargetFeature<"ptx71", "PTXVersion", "71",
|
||||
"Use PTX version 7.1">;
|
||||
def PTX72 : SubtargetFeature<"ptx72", "PTXVersion", "72",
|
||||
"Use PTX version 7.2">;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// NVPTX supported processors.
|
||||
@ -107,6 +113,7 @@ def : Proc<"sm_70", [SM70, PTX60]>;
|
||||
def : Proc<"sm_72", [SM72, PTX61]>;
|
||||
def : Proc<"sm_75", [SM75, PTX63]>;
|
||||
def : Proc<"sm_80", [SM80, PTX70]>;
|
||||
def : Proc<"sm_86", [SM86, PTX71]>;
|
||||
|
||||
def NVPTXInstrInfo : InstrInfo {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user