• Home
  • Raw
  • Download

Lines Matching refs:CudaArch

23 const char *CudaArchToString(CudaArch A) {  in CudaArchToString()
25 case CudaArch::UNKNOWN: in CudaArchToString()
27 case CudaArch::SM_20: in CudaArchToString()
29 case CudaArch::SM_21: in CudaArchToString()
31 case CudaArch::SM_30: in CudaArchToString()
33 case CudaArch::SM_32: in CudaArchToString()
35 case CudaArch::SM_35: in CudaArchToString()
37 case CudaArch::SM_37: in CudaArchToString()
39 case CudaArch::SM_50: in CudaArchToString()
41 case CudaArch::SM_52: in CudaArchToString()
43 case CudaArch::SM_53: in CudaArchToString()
45 case CudaArch::SM_60: in CudaArchToString()
47 case CudaArch::SM_61: in CudaArchToString()
49 case CudaArch::SM_62: in CudaArchToString()
55 CudaArch StringToCudaArch(llvm::StringRef S) { in StringToCudaArch()
56 return llvm::StringSwitch<CudaArch>(S) in StringToCudaArch()
57 .Case("sm_20", CudaArch::SM_20) in StringToCudaArch()
58 .Case("sm_21", CudaArch::SM_21) in StringToCudaArch()
59 .Case("sm_30", CudaArch::SM_30) in StringToCudaArch()
60 .Case("sm_32", CudaArch::SM_32) in StringToCudaArch()
61 .Case("sm_35", CudaArch::SM_35) in StringToCudaArch()
62 .Case("sm_37", CudaArch::SM_37) in StringToCudaArch()
63 .Case("sm_50", CudaArch::SM_50) in StringToCudaArch()
64 .Case("sm_52", CudaArch::SM_52) in StringToCudaArch()
65 .Case("sm_53", CudaArch::SM_53) in StringToCudaArch()
66 .Case("sm_60", CudaArch::SM_60) in StringToCudaArch()
67 .Case("sm_61", CudaArch::SM_61) in StringToCudaArch()
68 .Case("sm_62", CudaArch::SM_62) in StringToCudaArch()
69 .Default(CudaArch::UNKNOWN); in StringToCudaArch()
118 CudaVirtualArch VirtualArchForCudaArch(CudaArch A) { in VirtualArchForCudaArch()
120 case CudaArch::UNKNOWN: in VirtualArchForCudaArch()
122 case CudaArch::SM_20: in VirtualArchForCudaArch()
123 case CudaArch::SM_21: in VirtualArchForCudaArch()
125 case CudaArch::SM_30: in VirtualArchForCudaArch()
127 case CudaArch::SM_32: in VirtualArchForCudaArch()
129 case CudaArch::SM_35: in VirtualArchForCudaArch()
131 case CudaArch::SM_37: in VirtualArchForCudaArch()
133 case CudaArch::SM_50: in VirtualArchForCudaArch()
135 case CudaArch::SM_52: in VirtualArchForCudaArch()
137 case CudaArch::SM_53: in VirtualArchForCudaArch()
139 case CudaArch::SM_60: in VirtualArchForCudaArch()
141 case CudaArch::SM_61: in VirtualArchForCudaArch()
143 case CudaArch::SM_62: in VirtualArchForCudaArch()
149 CudaVersion MinVersionForCudaArch(CudaArch A) { in MinVersionForCudaArch()
151 case CudaArch::UNKNOWN: in MinVersionForCudaArch()
153 case CudaArch::SM_20: in MinVersionForCudaArch()
154 case CudaArch::SM_21: in MinVersionForCudaArch()
155 case CudaArch::SM_30: in MinVersionForCudaArch()
156 case CudaArch::SM_32: in MinVersionForCudaArch()
157 case CudaArch::SM_35: in MinVersionForCudaArch()
158 case CudaArch::SM_37: in MinVersionForCudaArch()
159 case CudaArch::SM_50: in MinVersionForCudaArch()
160 case CudaArch::SM_52: in MinVersionForCudaArch()
161 case CudaArch::SM_53: in MinVersionForCudaArch()
163 case CudaArch::SM_60: in MinVersionForCudaArch()
164 case CudaArch::SM_61: in MinVersionForCudaArch()
165 case CudaArch::SM_62: in MinVersionForCudaArch()