Home
last modified time | relevance | path

Searched refs:CudaArch (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/Basic/
DCuda.cpp23 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 …]
DTargets.cpp1698 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 …]
/external/clang/include/clang/Basic/
DCuda.h30 enum class CudaArch { enum
45 const char *CudaArchToString(CudaArch A);
48 CudaArch StringToCudaArch(llvm::StringRef S);
70 CudaVirtualArch VirtualArchForCudaArch(CudaArch A);
73 CudaVersion MinVersionForCudaArch(CudaArch A);
/external/clang/include/clang/Driver/
DAction.h162 const CudaArch GpuArch;
169 CudaDeviceAction(Action *Input, CudaArch Arch, bool AtTopLevel);
173 CudaArch getGpuArch() const { return GpuArch; } in getGpuArch()
/external/clang/lib/Driver/
DAction.cpp56 CudaDeviceAction::CudaDeviceAction(Action *Input, clang::CudaArch Arch, in CudaDeviceAction()
DDriver.cpp1026 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()
DToolChains.h177 mutable llvm::SmallSet<CudaArch, 4> ArchsWithVersionTooLowErrors;
187 void CheckCudaVersionSupportsArch(CudaArch Arch) const;
DToolChains.cpp1831 CudaArch Arch) const { in CheckCudaVersionSupportsArch()
1832 if (Arch == CudaArch::UNKNOWN || Version == CudaVersion::UNKNOWN || in CheckCudaVersionSupportsArch()