Home
last modified time | relevance | path

Searched refs:CudaVersion (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Basic/
DCuda.cpp9 const char *CudaVersionToString(CudaVersion V) { in CudaVersionToString()
11 case CudaVersion::UNKNOWN: in CudaVersionToString()
13 case CudaVersion::CUDA_70: in CudaVersionToString()
15 case CudaVersion::CUDA_75: in CudaVersionToString()
17 case CudaVersion::CUDA_80: in CudaVersionToString()
149 CudaVersion MinVersionForCudaArch(CudaArch A) { in MinVersionForCudaArch()
152 return CudaVersion::UNKNOWN; in MinVersionForCudaArch()
162 return CudaVersion::CUDA_70; in MinVersionForCudaArch()
166 return CudaVersion::CUDA_80; in MinVersionForCudaArch()
/external/clang/include/clang/Basic/
DCuda.h19 enum class CudaVersion { enum
25 const char *CudaVersionToString(CudaVersion V);
73 CudaVersion MinVersionForCudaArch(CudaArch A);
/external/clang/lib/Driver/
DToolChains.h167 CudaVersion Version = CudaVersion::UNKNOWN;
195 CudaVersion version() const { return Version; } in version()
DToolChains.cpp1728 static CudaVersion ParseCudaVersionFile(llvm::StringRef V) { in ParseCudaVersionFile()
1730 return CudaVersion::UNKNOWN; in ParseCudaVersionFile()
1737 return CudaVersion::UNKNOWN; in ParseCudaVersionFile()
1742 return CudaVersion::CUDA_70; in ParseCudaVersionFile()
1745 return CudaVersion::CUDA_75; in ParseCudaVersionFile()
1747 return CudaVersion::CUDA_80; in ParseCudaVersionFile()
1748 return CudaVersion::UNKNOWN; in ParseCudaVersionFile()
1820 Version = CudaVersion::CUDA_70; in init()
1832 if (Arch == CudaArch::UNKNOWN || Version == CudaVersion::UNKNOWN || in CheckCudaVersionSupportsArch()