Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Basic/
DCuda.cpp11 const char *CudaVersionToString(CudaVersion V) { in CudaVersionToString()
13 case CudaVersion::UNKNOWN: in CudaVersionToString()
15 case CudaVersion::CUDA_70: in CudaVersionToString()
17 case CudaVersion::CUDA_75: in CudaVersionToString()
19 case CudaVersion::CUDA_80: in CudaVersionToString()
21 case CudaVersion::CUDA_90: in CudaVersionToString()
23 case CudaVersion::CUDA_91: in CudaVersionToString()
25 case CudaVersion::CUDA_92: in CudaVersionToString()
27 case CudaVersion::CUDA_100: in CudaVersionToString()
29 case CudaVersion::CUDA_101: in CudaVersionToString()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DCuda.h20 enum class CudaVersion { enum
35 const char *CudaVersionToString(CudaVersion V);
37 CudaVersion CudaStringToVersion(const llvm::Twine &S);
104 CudaVersion MinVersionForCudaArch(CudaArch A);
107 CudaVersion MaxVersionForCudaArch(CudaArch A);
117 CudaVersion ToCudaVersion(llvm::VersionTuple);
119 bool CudaFeatureEnabled(CudaVersion, CudaFeature);
/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/llvm-project/clang/lib/Driver/ToolChains/
DCuda.cpp39 CudaVersion Version;
46 return {V.str(), CudaVersion::UNKNOWN}; in parseCudaVersionFile()
52 ? CudaVersion::UNKNOWN in parseCudaVersionFile()
57 CudaVersion getCudaVersion(uint32_t raw_version) { in getCudaVersion()
59 return CudaVersion::CUDA_70; in getCudaVersion()
61 return CudaVersion::CUDA_75; in getCudaVersion()
63 return CudaVersion::CUDA_80; in getCudaVersion()
65 return CudaVersion::CUDA_90; in getCudaVersion()
67 return CudaVersion::CUDA_91; in getCudaVersion()
69 return CudaVersion::CUDA_92; in getCudaVersion()
[all …]
DCuda.h32 CudaVersion Version = CudaVersion::UNKNOWN;
65 CudaVersion version() const { return Version; } in version()
DClang.cpp4122 if (CTC && CTC->CudaInstallation.version() != CudaVersion::UNKNOWN) in ConstructJob()
/external/clang/include/clang/Basic/
DCuda.h19 enum class CudaVersion { enum
25 const char *CudaVersionToString(CudaVersion V);
73 CudaVersion MinVersionForCudaArch(CudaArch A);
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.cc1643 struct CudaVersion { struct
1645 explicit CudaVersion(const std::string& version_name) { in CudaVersion() function
1656 CudaVersion() {} in CudaVersion() function
1657 bool operator<(const CudaVersion& other) const { in operator <() argument
1664 const CudaVersion& version) { in operator <<()
1672 std::vector<CudaVersion> supported_cuda_compute_capabilities = {
1673 CudaVersion("3.5"), CudaVersion("5.2")};
1675 std::vector<CudaVersion> GetSupportedCudaComputeCapabilities() { in GetSupportedCudaComputeCapabilities()
1689 cuda_caps.push_back(CudaVersion(capability)); in GetSupportedCudaComputeCapabilities()
1820 CudaVersion min_supported_capability = *std::min_element( in GetValidDeviceIds()
[all …]
/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()
/external/llvm-project/clang/lib/CodeGen/
DCGCUDANV.cpp444 ToCudaVersion(CGM.getTarget().getSDKVersion()) >= CudaVersion::CUDA_90) in makeRegisterGlobalsFn()
/external/llvm-project/polly/lib/CodeGen/
DPPCGCodeGeneration.cpp111 CudaVersion("polly-acc-cuda-version", variable
2358 subtarget = CudaVersion; in createKernelASM()