Lines Matching refs:CudaArch
55 CudaArch arch;
61 { CudaArch::SM_##sm, "sm_" #sm, ca }
64 { CudaArch::GFX##gpu, "gfx" #gpu, "compute_amdgcn" }
67 {CudaArch::UNUSED, "", ""},
98 const char *CudaArchToString(CudaArch A) { in CudaArchToString()
107 const char *CudaArchToVirtualArchString(CudaArch A) { in CudaArchToVirtualArchString()
116 CudaArch StringToCudaArch(llvm::StringRef S) { in StringToCudaArch()
121 return CudaArch::UNKNOWN; in StringToCudaArch()
125 CudaVersion MinVersionForCudaArch(CudaArch A) { in MinVersionForCudaArch()
126 if (A == CudaArch::UNKNOWN) in MinVersionForCudaArch()
134 case CudaArch::SM_20: in MinVersionForCudaArch()
135 case CudaArch::SM_21: in MinVersionForCudaArch()
136 case CudaArch::SM_30: in MinVersionForCudaArch()
137 case CudaArch::SM_32: in MinVersionForCudaArch()
138 case CudaArch::SM_35: in MinVersionForCudaArch()
139 case CudaArch::SM_37: in MinVersionForCudaArch()
140 case CudaArch::SM_50: in MinVersionForCudaArch()
141 case CudaArch::SM_52: in MinVersionForCudaArch()
142 case CudaArch::SM_53: in MinVersionForCudaArch()
144 case CudaArch::SM_60: in MinVersionForCudaArch()
145 case CudaArch::SM_61: in MinVersionForCudaArch()
146 case CudaArch::SM_62: in MinVersionForCudaArch()
148 case CudaArch::SM_70: in MinVersionForCudaArch()
150 case CudaArch::SM_72: in MinVersionForCudaArch()
152 case CudaArch::SM_75: in MinVersionForCudaArch()
154 case CudaArch::SM_80: in MinVersionForCudaArch()
161 CudaVersion MaxVersionForCudaArch(CudaArch A) { in MaxVersionForCudaArch()
167 case CudaArch::UNKNOWN: in MaxVersionForCudaArch()
169 case CudaArch::SM_20: in MaxVersionForCudaArch()
170 case CudaArch::SM_21: in MaxVersionForCudaArch()