Searched refs:CudaArch (Results 1 – 8 of 8) sorted by relevance
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()[all …]
1698 CudaArch GPU;1711 GPU = CudaArch::SM_20; in NVPTXTargetInfo()1780 case CudaArch::UNKNOWN: in getTargetDefines()1783 case CudaArch::SM_20: in getTargetDefines()1785 case CudaArch::SM_21: in getTargetDefines()1787 case CudaArch::SM_30: in getTargetDefines()1789 case CudaArch::SM_32: in getTargetDefines()1791 case CudaArch::SM_35: in getTargetDefines()1793 case CudaArch::SM_37: in getTargetDefines()1795 case CudaArch::SM_50: in getTargetDefines()[all …]
30 enum class CudaArch { enum45 const char *CudaArchToString(CudaArch A);48 CudaArch StringToCudaArch(llvm::StringRef S);70 CudaVirtualArch VirtualArchForCudaArch(CudaArch A);73 CudaVersion MinVersionForCudaArch(CudaArch A);
162 const CudaArch GpuArch;169 CudaDeviceAction(Action *Input, CudaArch Arch, bool AtTopLevel);173 CudaArch getGpuArch() const { return GpuArch; } in getGpuArch()
56 CudaDeviceAction::CudaDeviceAction(Action *Input, clang::CudaArch Arch, in CudaDeviceAction()
1026 CudaArch Arch = CDA->getGpuArch(); in PrintActions1()1027 if (Arch != CudaArch::UNKNOWN) in PrintActions1()1385 SmallVector<CudaArch, 4> GpuArchList; in buildCudaActions()1386 llvm::SmallSet<CudaArch, 4> GpuArchs; in buildCudaActions()1393 CudaArch Arch = StringToCudaArch(ArchStr); in buildCudaActions()1394 if (Arch == CudaArch::UNKNOWN) in buildCudaActions()1403 GpuArchList.push_back(CudaArch::SM_20); in buildCudaActions()1469 CudaArch::UNKNOWN, in buildCudaActions()
177 mutable llvm::SmallSet<CudaArch, 4> ArchsWithVersionTooLowErrors;187 void CheckCudaVersionSupportsArch(CudaArch Arch) const;
1831 CudaArch Arch) const { in CheckCudaVersionSupportsArch()1832 if (Arch == CudaArch::UNKNOWN || Version == CudaVersion::UNKNOWN || in CheckCudaVersionSupportsArch()