Lines Matching refs:CudaVirtualArch
72 const char *CudaVirtualArchToString(CudaVirtualArch A) { in CudaVirtualArchToString()
74 case CudaVirtualArch::UNKNOWN: in CudaVirtualArchToString()
76 case CudaVirtualArch::COMPUTE_20: in CudaVirtualArchToString()
78 case CudaVirtualArch::COMPUTE_30: in CudaVirtualArchToString()
80 case CudaVirtualArch::COMPUTE_32: in CudaVirtualArchToString()
82 case CudaVirtualArch::COMPUTE_35: in CudaVirtualArchToString()
84 case CudaVirtualArch::COMPUTE_37: in CudaVirtualArchToString()
86 case CudaVirtualArch::COMPUTE_50: in CudaVirtualArchToString()
88 case CudaVirtualArch::COMPUTE_52: in CudaVirtualArchToString()
90 case CudaVirtualArch::COMPUTE_53: in CudaVirtualArchToString()
92 case CudaVirtualArch::COMPUTE_60: in CudaVirtualArchToString()
94 case CudaVirtualArch::COMPUTE_61: in CudaVirtualArchToString()
96 case CudaVirtualArch::COMPUTE_62: in CudaVirtualArchToString()
102 CudaVirtualArch StringToCudaVirtualArch(llvm::StringRef S) { in StringToCudaVirtualArch()
103 return llvm::StringSwitch<CudaVirtualArch>(S) in StringToCudaVirtualArch()
104 .Case("compute_20", CudaVirtualArch::COMPUTE_20) in StringToCudaVirtualArch()
105 .Case("compute_30", CudaVirtualArch::COMPUTE_30) in StringToCudaVirtualArch()
106 .Case("compute_32", CudaVirtualArch::COMPUTE_32) in StringToCudaVirtualArch()
107 .Case("compute_35", CudaVirtualArch::COMPUTE_35) in StringToCudaVirtualArch()
108 .Case("compute_37", CudaVirtualArch::COMPUTE_37) in StringToCudaVirtualArch()
109 .Case("compute_50", CudaVirtualArch::COMPUTE_50) in StringToCudaVirtualArch()
110 .Case("compute_52", CudaVirtualArch::COMPUTE_52) in StringToCudaVirtualArch()
111 .Case("compute_53", CudaVirtualArch::COMPUTE_53) in StringToCudaVirtualArch()
112 .Case("compute_60", CudaVirtualArch::COMPUTE_60) in StringToCudaVirtualArch()
113 .Case("compute_61", CudaVirtualArch::COMPUTE_61) in StringToCudaVirtualArch()
114 .Case("compute_62", CudaVirtualArch::COMPUTE_62) in StringToCudaVirtualArch()
115 .Default(CudaVirtualArch::UNKNOWN); in StringToCudaVirtualArch()
118 CudaVirtualArch VirtualArchForCudaArch(CudaArch A) { in VirtualArchForCudaArch()
121 return CudaVirtualArch::UNKNOWN; in VirtualArchForCudaArch()
124 return CudaVirtualArch::COMPUTE_20; in VirtualArchForCudaArch()
126 return CudaVirtualArch::COMPUTE_30; in VirtualArchForCudaArch()
128 return CudaVirtualArch::COMPUTE_32; in VirtualArchForCudaArch()
130 return CudaVirtualArch::COMPUTE_35; in VirtualArchForCudaArch()
132 return CudaVirtualArch::COMPUTE_37; in VirtualArchForCudaArch()
134 return CudaVirtualArch::COMPUTE_50; in VirtualArchForCudaArch()
136 return CudaVirtualArch::COMPUTE_52; in VirtualArchForCudaArch()
138 return CudaVirtualArch::COMPUTE_53; in VirtualArchForCudaArch()
140 return CudaVirtualArch::COMPUTE_60; in VirtualArchForCudaArch()
142 return CudaVirtualArch::COMPUTE_61; in VirtualArchForCudaArch()
144 return CudaVirtualArch::COMPUTE_62; in VirtualArchForCudaArch()